Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

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

…tigation needed).
  • Loading branch information...
commit 50efd27710343293afb2d803ca07135820492680 1 parent e69da7c
@sarahmei sarahmei authored
Showing with 1 addition and 3 deletions.
  1. +1 −1  Gemfile
  2. +0 −2  features/support/env.rb
View
2  Gemfile
@@ -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
2  features/support/env.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.