Testing associations with factory girl

Associations are very important when we are working with relational databases. Writing relations in models is easy but when it comes testing them, it is a painful task. Factory girl associations makes this easy. Before going into details, lets get the basics right. What is Factory Girl?    Factory_girl is a fixtures replacement with a … Continue reading Testing associations with factory girl