Extract fixtures to a separate gem for Rails 4

Thanks everyone for sharing your feelings about FactoryGirl, but that’s not what I care about :). I consider this off-topic, please start a separate discussion about that gem.

My question is: should YAML fixtures be extracted from Rails 4?

No, they should not. They are used rather extensively in the Active Record tests.

No.

Does anyone know of a gem which uses fixtures for testing? I looked at devise, arel etc but they do not use fixtures. Just trying to learn proper usage of fixtures.

Of course Rails itself uses fixtures a lot but I am looking for other simpler gems.

Thanks

  • Neeraj