Skip to content

Commit

Permalink
Fix WebMock deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
blt04 committed Apr 5, 2012
1 parent 4e93208 commit 6bae285
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion test/helper.rb
Expand Up @@ -20,7 +20,6 @@
WebMock.allow_net_connect!

class Test::Unit::TestCase
include WebMock
include RR::Adapters::TestUnit
def setup
WebMock.allow_net_connect!
Expand Down
2 changes: 1 addition & 1 deletion test/test_client.rb
Expand Up @@ -8,7 +8,7 @@ class TestClient < Test::Unit::TestCase
:app_name => CROWD_CONFIG['app_name'],
:app_password => CROWD_CONFIG['app_password']})
@service_url = @client.options[:service_url]
reset_webmock
WebMock.reset!
end
should "initialize" do
@client.should_not be nil
Expand Down

0 comments on commit 6bae285

Please sign in to comment.