1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot_rails.git synced 2022-11-09 11:49:18 -05:00
Commit graph

11 commits

Author SHA1 Message Date
Joshua Clayton
aa40389c7b Remove Rails 3 from appraised versions of Rails 2013-11-03 22:46:03 -05:00
Matt Jankowski
5b099f6773 Allow Rails 3.1 to select the 'turn' gem it wants to use
Rails 3.1.x has code which checks which version of ruby is being run,
and based on the result, selects a version of turn.

For 1.9.3+, it selects "~> 0.8.3"; for everything else, it selects "0.8.2".

If we remove turn from the Appraisals, but have travis install both versions
that rails might potentially need, the in-generated-app Gemfile building should
work correctly.
2013-01-07 16:42:54 -05:00
Matt Jankowski
f68f1c234d Allow each Appraisal version gemfile to resolve the exact gem versions needed 2013-01-07 13:03:55 -05:00
Matt Jankowski
c97d2aeba1 Allow the rails 3.1 appraisal to select the exact version of turn it needs, dont install before hand 2013-01-04 15:37:36 -05:00
Matt Jankowski
ffca1ce373 Be more specific about which gems are required for which rails versions via Appraisals 2013-01-04 11:13:25 -05:00
Matt Jankowski
2f64464027 Make sure the gems that the rails apps are going to need are in place ahead of time 2012-12-21 11:08:23 -05:00
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
Matt Jankowski
0e417981e0 Regenerate gemfiles using newer Appraisal naming convention, point travis at correct files 2012-12-13 11:42:32 -05:00
Joshua Clayton
7d7828888c Bundle in an attempt to fix travis 2012-12-07 11:51:01 -05:00
Joshua Clayton
f2b5b79dd9 Install gems required by appraisal 2012-12-07 11:00:44 -05:00
Gabe Berke-Williams
6189e6028c Add travis.yml
Copied from factory_girl.
2012-11-30 11:55:26 -05:00