Factory_girl with Non-ActiveRecord classes

In earlier post we have seen how to test active record associations with factory girl. Now we will learn how factory girl works with non-active record classes. When we want to test external API responses, this will be useful.  By using this we can build no of responses at a time and test, how system … Continue reading Factory_girl with Non-ActiveRecord classes