Heat a medium-sized pot over medium heat and drizzle a little olive oil.
When the oil is hot, saute the garlic and onion for 2 minutes or until softened.
Next, add the cherry tomatoes and dried thyme and saute for 3 minutes. Stir often to prevent burning.
Add the canned tomatoes and combine them with the other ingredients.
Next, add the white wine, stir to combine, and cook for 2 minutes or until the alcohol evaporates.
Add the water. When it starts boiling, add the spaghetti, salt, and pepper and cook until the pasta is al dente. Toss around the pasta every 2 minutes until the liquid is almost all evaporated.
When the water halves, add the spinach and continue cooking.
When the pasta is al dente, remove the pasta from the heat and serve garnished with basil leaves.