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:
parent
ec478f1edc
commit
4a7afc4cf5
1 changed files with 3 additions and 1 deletions
|
@ -28,7 +28,9 @@ Gem:
|
||||||
Add `factory_girl_rails` to your Gemfile:
|
Add `factory_girl_rails` to your Gemfile:
|
||||||
|
|
||||||
```ruby
|
```ruby
|
||||||
gem 'factory_girl_rails'
|
group :development, :test do
|
||||||
|
gem 'factory_girl_rails'
|
||||||
|
end
|
||||||
```
|
```
|
||||||
|
|
||||||
Generators for factories will automatically substitute fixture (and maybe any other
|
Generators for factories will automatically substitute fixture (and maybe any other
|
||||||
|
|
Loading…
Reference in a new issue