Commit bd12d7ff9bea073341b06037db0e5ffe0a017661
1 parent
c7eb9788
Exists in
master
and in
1 other branch
do load cucumber & webrat in cucumber env
Showing
2 changed files
with
9 additions
and
11 deletions
Show diff stats
config/environments/cucumber.rb
@@ -18,11 +18,9 @@ config.action_mailer.delivery_method = :test | @@ -18,11 +18,9 @@ config.action_mailer.delivery_method = :test | ||
18 | # rake gems:install RAILS_ENV=cucumber | 18 | # rake gems:install RAILS_ENV=cucumber |
19 | 19 | ||
20 | config.gem "cucumber", | 20 | config.gem "cucumber", |
21 | - :lib => false, | ||
22 | - :version => "= 0.3.11" | 21 | + :version => "0.3.11" |
23 | config.gem "webrat", | 22 | config.gem "webrat", |
24 | - :lib => false, | ||
25 | - :version => "= 0.4.4" | 23 | + :version => "0.4.4" |
26 | 24 | ||
27 | require 'rubygems' | 25 | require 'rubygems' |
28 | require 'factory_girl' | 26 | require 'factory_girl' |
config/environments/test.rb
@@ -23,17 +23,17 @@ config.action_mailer.delivery_method = :test | @@ -23,17 +23,17 @@ config.action_mailer.delivery_method = :test | ||
23 | 23 | ||
24 | # rake gems:install RAILS_ENV=test | 24 | # rake gems:install RAILS_ENV=test |
25 | 25 | ||
26 | -config.gem 'jferris-mocha', | 26 | +config.gem 'jferris-mocha', |
27 | :version => '0.9.5.0.1241126838', | 27 | :version => '0.9.5.0.1241126838', |
28 | - :source => 'http://gems.github.com', | 28 | + :source => 'http://gems.github.com', |
29 | :lib => 'mocha' | 29 | :lib => 'mocha' |
30 | config.gem 'thoughtbot-factory_girl', | 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 | :version => '>= 1.2.0' | 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 | :version => '>= 2.10.1' | 37 | :version => '>= 2.10.1' |
38 | 38 | ||
39 | HOST = 'localhost' | 39 | HOST = 'localhost' |