1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00
thoughtbot--factory_bot_rails/Appraisals
Matt Jankowski 89a257c951 Use minitest-rails only when we actually want to test it.
Some features test the factory_girl_rails integration with minitest-rails.

Other features just test normal integration with rails generators.

When minitest-rails is *always* in our gemfiles, minitest's generator
gets run during the features which generate new rails apps.

Because minitest doesnt support namespaced models, this fails.  But, also,
we don't actually want to run minitest during anything other than the specific
areas where we are testing that integration.

Thus, we need the gem present on the system, but not in the gemfiles during
any times other than when it's pulled in specifically by those features.
2012-12-13 12:02:21 -05:00

13 lines
218 B
Ruby

appraise "rails3.0" do
gem "rails", "~> 3.0.17"
end
appraise "rails3.1" do
gem "rails", "~> 3.1.8"
gem "sqlite3", ">= 1.3.4"
end
appraise "rails3.2" do
gem "rails", "~> 3.2.8"
gem "sqlite3", ">= 1.3.4"
end