Browse files

Shuffle around development and test groups in Gemfile.

* Only rspec-rails is required to be in the development group, so that
  it creates rake tasks correctly.
* cucumber-* gems need to be required explicitly later from within the
  features directory, since they infer configuration from `caller` (laaaame)
  • Loading branch information...
1 parent cf273b6 commit 86536a4464d91e6e149139ff047a2accfd2e616e @xaviershay committed Feb 18, 2012
Showing with 7 additions and 4 deletions.
  1. +7 −4 Gemfile
11 Gemfile
@@ -49,13 +49,16 @@ gem 'exception_notification', '~> 2.5.2'
# Bundle gems for the local environment. Make sure to
# put test-only gems in this group so their generators
# and rake tasks are available in development mode:
-group :development, :test do
+group :test do
gem 'database_cleaner'
- gem 'cucumber-rails'
- gem 'cucumber-websteps'
+ gem 'cucumber-rails', :require => false
+ gem 'cucumber-websteps', :require => false
gem 'factory_girl'
gem 'rspec'
- gem 'rspec-rails'
gem 'nokogiri', '~> 1.5.0'
gem 'webrat'
+group :development, :test do
+ gem 'rspec-rails'

0 comments on commit 86536a4

Please sign in to comment.