Spork And Factory Girl Reloaded

Today I ran across an issue where when running Spork and autotest the factories that I added were not being reloaded. After some Googling I found a simple solution which requires just two lines in the Spork.each_run block. It looks like so reload_routes! and Factory.factories.clear do exactly what they say. The Dir.glob reads all my factories out of the factories folder and loads each on every run. Simple and to the point!