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

16 commits

Author SHA1 Message Date
Rodolfo Spalenza
c761d47c93 Fix when use fixture_replacement with suffix option.
Fix #113
2015-03-14 20:53:35 -04:00
Joshua Clayton
531e68193f Get suite green on Ruby 2.2.0 2015-03-13 22:39:10 -04:00
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
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
51cc9ed402 Instead of modifying the environment, run bundle install in a new process
JRuby does not support setting/unsetting environment variables.

Thus, we will launch an entirely new process without the parents env when
we run `bundle install` inside the generated rails apps, forcing them to
use their own Gemfile, instead of the BUNDLE_GEMFILE setting from the main
gem codebase.
2012-12-21 11:08:37 -05:00
Matt Jankowski
cc921652d0 Rails 3.1 adds the Turn gem to the gemfile, which impacts the format that results are reported in, and we must verify that format 2012-12-19 15:04:29 -05:00
Matt Jankowski
95eaa4af9a Improve the way we switch between project Gemfile and appraisal gemfiles
Previously, the railties required by the project gemspec was in conflict with
the rails versions being pulled in by Appraisal.

There were situations where a newer rails app was generated by `rails new...`
even though the Appraisal gemfiles/ value should have been setting it correctly.

We need to be able to use the versions of things specified in the appraisal gemfiles/
specify the version of rails for the initial generation of the applications,
but subsequently allow those applications to point to the `Gemfile` within
the newly generated rails apps, rather than wherever BUNDLE_GEMFILE was previously
set by Appraisal.
2012-12-19 14:46:21 -05:00
Matt Jankowski
742f38dc9e jruby needs a separate sqlite3 adapter 2012-12-13 16:41:16 -05:00
Artem Ignatyev
06861a9fdb cucumber scenario to test Tweaked factory_girls_initialization process 2011-12-02 11:23:51 -06:00
Joshua Clayton
a5aee1abed Update gem dependency versions 2011-06-29 12:30:28 -04:00
Joshua Clayton
eb93acd292 Update feature to use factory_girl 2.0 syntax 2011-06-29 11:35:22 -04:00
Mike Burns
7cdd05d67f Lock down the Rails version so we're not influenced by the very newest version of Rails when we're trying to fix an unrelated bug. 2011-06-10 09:55:55 -04:00
Joe Ferris
3c691f2717 Use bundler for dependencies (based on patches from Mike Gehard) 2010-11-11 11:44:49 -05:00
Joe Ferris
98b00ce10a Use aruba (based on patches from Mike Gehard) 2010-11-11 11:44:41 -05:00
Joe Ferris
c340abd5ec Depend on factory_girl 2 beta; use Rails 3 stable 2010-11-10 15:55:44 -05:00
Joe Ferris
dd737af03e Added Rails 3 integration 2010-06-09 11:42:48 -04:00