Skip to content

Commit 4a7afc4

Browse files
xander-millerjoshuaclayton
authored andcommitted
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 #88
1 parent ec478f1 commit 4a7afc4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ Gem:
2828
Add `factory_girl_rails` to your Gemfile:
2929

3030
```ruby
31-
gem 'factory_girl_rails'
31+
group :development, :test do
32+
gem 'factory_girl_rails'
33+
end
3234
```
3335

3436
Generators for factories will automatically substitute fixture (and maybe any other

0 commit comments

Comments
 (0)