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

7 commits

Author SHA1 Message Date
Joshua Clayton
079657625d Require factory_girl_rails explicitly in generator
This resolves an issue where factory_girl_rails won't get required if
you only have factory_girl_rails declared in the :test group of a Rails
app.

Closes #89
2013-02-08 12:03:14 -05:00
Eric Hu
e85aa34ace Add suffix option for Rails config
Closes #78
2012-12-07 10:40:51 -05:00
Joshua Clayton
a6ccbcb9f6 Support yardoc
This commit renames the .rb template to .erb. With it renamed, yardoc
won't try and parse the file (which was causing the install to break).

Closes #52
2012-03-30 10:27:41 -04: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
Carlos Antonio da Silva
42f5a10554 Update github url in generator template to use https 2012-01-26 22:34:20 -02:00
Jeff Dutil
d364e832d6 Correct whitespace generated by factory template.
Closes #36
2011-10-14 10:36:05 -04:00
Mike Gehard
9f26cabfdf Move generators from rails3-generators gem over to factory_girl_rails. 2011-07-11 21:11:06 -06:00