Add the gnocchi and separate them. Sprinkle with salt and pepper and red pepper flakes, and cook, stirring occasionally for 8-10 minutes, or until golden and slightly crispy.
Remove from pan.
Add the mushrooms, and cook for 3 or so minutes until soft (add additional olive oil if needed). Return the gnocchi to the pan and add the sundried tomatoes, spinach and white beans. Stir until spinach is wilted and everything is heated through.
Add additional salt, pepper and red pepper flakes to taste.