1

I have huge number of constants to be used during testing which I have in seed. So how is it possible to run seed during testing as well specially rspec/cucumber. It's been mentioned that I should better use fabricator or factory girl to populate the data. But I have huge number of constants, so I will have to manually add them to factory(that will be tedius). Plus I have lots of associated data. So is it a good option? Suggestions?

sehe
  • 374,641
  • 47
  • 450
  • 633
rajan sthapit
  • 4,194
  • 10
  • 42
  • 66

0 Answers0