mirror of
https://github.com/thoughtbot/factory_bot_rails.git
synced 2022-11-09 11:49:18 -05:00
89a257c951
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.
13 lines
218 B
Ruby
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
|