rails3 setup_wizard should put rspec gem to the development group
Reported by Betelgeuse | November 23rd, 2010 @ 08:44 PM | in Hobo 1.3 (Rails 3)
http://blog.davidchelimsky.net/2010/07/11/rspec-rails-2-generators-...
You can't run just rake spec if the rspec-rails gem is only in the :test group. You would need to do RAILS_ENV=test rake spec which I find a bit annoying. I suggest generating test stuff for example like this:
group :development, :test do
gem "rspec-rails", ">= 2.0.0.beta.10"
end
While at it we could start generating the version as min 2.0.0
Comments and changes to this ticket
-
Domizio Demichelis November 23rd, 2010 @ 09:19 PM
- State changed from new to open
- Milestone set to Hobo 1.3 (Rails 3)
- Milestone order changed from 3 to 0
According to the link the :test is actually not required so we can just change :test for :development, anyway, since it's not harmful, I will add it to both groups, just in case of future changes. Thank you.
-
Domizio Demichelis November 23rd, 2010 @ 09:22 PM
- State changed from open to resolved
(from [b997230d89b64e015a840502654771393fcd62ca]) added the :development group for gem rspec-rails [#872 state:resolved] https://github.com/tablatom/hobo/commit/b997230d89b64e015a840502654...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Tags
Referenced by
- 872 rails3 setup_wizard should put rspec gem to the development group (from [b997230d89b64e015a840502654771393fcd62ca]) added t...