Permalink
Browse files

Removing webmock from cucumber - interferes with capybara (more inves…

…tigation needed).
  • Loading branch information...
1 parent e69da7c commit 50efd27710343293afb2d803ca07135820492680 @sarahmei sarahmei committed Nov 1, 2010
Showing with 1 addition and 3 deletions.
  1. +1 −1 Gemfile
  2. +0 −2 features/support/env.rb
View
@@ -60,7 +60,7 @@ group :test do
gem 'rspec-rails', '>= 2.0.0'
gem 'mocha'
gem 'database_cleaner', '0.5.2'
- gem 'webmock'
+ gem 'webmock', :require => false
gem 'jasmine', :path => 'vendor/gems/jasmine', :require => false
gem 'mongrel', :require => false if RUBY_VERSION.include? "1.8"
end
View
@@ -22,8 +22,6 @@
# steps to use the XPath syntax.
Capybara.default_selector = :css
-WebMock.disable_net_connect!(:allow_localhost => true)
-
# If you set this to false, any error raised from within your app will bubble
# up to your step definition and out to cucumber unless you catch it somewhere
# on the way. You can make Rails rescue errors and render error pages on a

0 comments on commit 50efd27

Please sign in to comment.