Commit bd12d7ff9bea073341b06037db0e5ffe0a017661

Authored by Dan Croak
1 parent c7eb9788

do load cucumber & webrat in cucumber env

config/environments/cucumber.rb
... ... @@ -18,11 +18,9 @@ config.action_mailer.delivery_method = :test
18 18 # rake gems:install RAILS_ENV=cucumber
19 19  
20 20 config.gem "cucumber",
21   - :lib => false,
22   - :version => "= 0.3.11"
  21 + :version => "0.3.11"
23 22 config.gem "webrat",
24   - :lib => false,
25   - :version => "= 0.4.4"
  23 + :version => "0.4.4"
26 24  
27 25 require 'rubygems'
28 26 require 'factory_girl'
... ...
config/environments/test.rb
... ... @@ -23,17 +23,17 @@ config.action_mailer.delivery_method = :test
23 23  
24 24 # rake gems:install RAILS_ENV=test
25 25  
26   -config.gem 'jferris-mocha',
  26 +config.gem 'jferris-mocha',
27 27 :version => '0.9.5.0.1241126838',
28   - :source => 'http://gems.github.com',
  28 + :source => 'http://gems.github.com',
29 29 :lib => 'mocha'
30 30 config.gem 'thoughtbot-factory_girl',
31   - :lib => 'factory_girl',
32   - :source => 'http://gems.github.com',
  31 + :lib => 'factory_girl',
  32 + :source => 'http://gems.github.com',
33 33 :version => '>= 1.2.0'
34   -config.gem 'thoughtbot-shoulda',
35   - :lib => 'shoulda',
36   - :source => 'http://gems.github.com',
  34 +config.gem 'thoughtbot-shoulda',
  35 + :lib => 'shoulda',
  36 + :source => 'http://gems.github.com',
37 37 :version => '>= 2.10.1'
38 38  
39 39 HOST = 'localhost'
... ...