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

20 commits

Author SHA1 Message Date
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
b7f5c5d9d0 Simplify the jdbc sqlite3 driver replacement 2012-12-19 14:31:49 -05:00
Matt Jankowski
b34a554506 Speed up performance on jruby 2012-12-19 14:29:51 -05:00
Matt Jankowski
742f38dc9e jruby needs a separate sqlite3 adapter 2012-12-13 16:41:16 -05:00
Joshua Clayton
bcbdc4558c Initial support for MiniTest
Closes #68, #75
2012-12-10 11:29:57 -05:00
Joshua Clayton
1c6975c185 Allow a custom directory for factories be specified
Closes #73
2012-12-07 11:48:05 -05:00
Eric Hu
e85aa34ace Add suffix option for Rails config
Closes #78
2012-12-07 10:40:51 -05:00
Joshua Flanagan
7df9c9b13a Respect model namespaces when generating factories.
The factory name for the model Namespaced::User wil be :namespaced_user.
The :class option is specified as a string to prevent class reloading issues.

Addresses GH-44
2012-02-26 12:58:48 -06:00
Artem Ignatyev
06861a9fdb cucumber scenario to test Tweaked factory_girls_initialization process 2011-12-02 11:23:51 -06:00
Mike Gehard
97222f2b58 Allow factory_girl_rails to auto configure factory girl as the fixture replacement mechanism. 2011-09-24 06:58:59 -06:00
Mike Burns
e36a7c9a11 Merge branch 'add_generators' of https://github.com/msgehard/factory_girl_rails 2011-07-12 09:51:08 -04:00
Mike Burns
c4eab793e3 Extend the Aruba timeout to an hour because bundler takes too long. 2011-07-12 09:50:31 -04:00
Mike Gehard
9f26cabfdf Move generators from rails3-generators gem over to factory_girl_rails. 2011-07-11 21:11:06 -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