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

Updates ReadMe to recommend environments for gem

Recommends adding to `factory_girl_rails` to both your `:test` and `:development` groups so generators will work in development. As per issue #88 https://github.com/thoughtbot/factory_girl_rails/issues/88
This commit is contained in:
Alexander Miller 2016-07-16 15:02:53 -04:00 committed by Joshua Clayton
parent ec478f1edc
commit 4a7afc4cf5
No known key found for this signature in database
GPG key ID: 5B6558F77E9A8118

View file

@ -28,7 +28,9 @@ Gem:
Add `factory_girl_rails` to your Gemfile:
```ruby
group :development, :test do
gem 'factory_girl_rails'
end
```
Generators for factories will automatically substitute fixture (and maybe any other