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

13 commits

Author SHA1 Message Date
Dan Croak
00cb2eabb1 Test against Rails 3.2, 4.0, 4.1
* Remove gemfiles from version control to match same testing style as
  Clearance and Suspenders.
* MiniTest does not need to be manually included as it is automatically
  included by Rails by default.
* Add spring for Rails 4.1.
* Disable Spring to get specs to pass on Rails 4.1.
* Add therubyrhino for JRuby.
* Remove old references to Rails 3.
* Fix JRuby test where output is "1 runs", not "1 tests".
* Remove Rails 3.0 reference to "turn".
2014-05-27 00:41:24 -07:00
Joshua Clayton
aa40389c7b Remove Rails 3 from appraised versions of Rails 2013-11-03 22:46:03 -05:00
Matt Jankowski
7ce3ca02c6 Bump rails gem versions to latest for Appraisal 2013-01-29 16:39:31 -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
a179d7f366 Newer versions of activerecord-jdbcsqlite3-adapter work without a specially named db driver in database.yml 2013-01-07 15:49:11 -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
2aa0939884 Update rails gem versions in Appraisals to use latest stable releases: 3.2.10, 3.1.9, 3.0.18 2013-01-04 11:13:58 -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
742f38dc9e jruby needs a separate sqlite3 adapter 2012-12-13 16:41:16 -05:00
Matt Jankowski
e43f18ddcf Bump the rails 3.2.8 appraisal to 3.2.9 2012-12-13 12:13:38 -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
Joshua Clayton
9d83c83b0c Add minitest-rails to appraisal 2012-12-10 12:04:39 -05:00
Joshua Clayton
402e6ed84c Use Appraisal
This allows us to test factory_girl_rails against each minor release of
Rails 3. To run the full suite, run

    $ bundle exec rake

To view all the rake tasks Appraisal provides, run

    $ bundle exec rake -T appraisal
2012-11-02 16:35:09 -04:00