house9

random code and what not

Factory Girl makes rails testing so much easier

Factory Girl makes rails testing so much easier. I watched a Railscasts on Factory Girl recently but had been putting off trying it out until last week. Glad I gave it a try - now I can say good-bye to fixtures and just write my tests!

Factory Girl is developed by thoughbot; they have some great open source projects, check out Shoulda to make your rails testing even easier.