Sean Magyar
Sean Magyar

Reputation: 2380

where to put test gems in rails4

I've seen different sources where the test gems are placed in other groups of the gemfile. For example in one tut the factory_girl_rails is in group :development, :test and in another it's in group :test.

Is there an easy way to decide where to put the following gems?

factory_girl_rails
launchy
jasmine
guard-rspec
capybara
shoulda

Upvotes: 0

Views: 25

Answers (1)

born4new
born4new

Reputation: 1687

Depends on what they usually say on their github repo page, but usually put the test ones only in the :test group (i.e. jasmine, guard-rspec, capybara, shoulda) and if you ever need them in dev (Creating a factory in dev can sometimes be cool), then put it in both.

Truth be told, I don't know launchy...

Upvotes: 1

Related Questions