Skip to content

Commit

Permalink
Fixed code formatting in README
Browse files Browse the repository at this point in the history
  • Loading branch information
Bartosz Blimke committed Apr 10, 2010
1 parent 2b8c127 commit 4c6c6a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -221,11 +221,11 @@ You can also use WebMock without RSpec or Test::Unit support:


### External requests can be disabled while allowing localhost ### External requests can be disabled while allowing localhost


WebMock.disable_net_connect!(:allow_localhost => true) WebMock.disable_net_connect!(:allow_localhost => true)


Net::HTTP.get('www.something.com', '/') # ===> Failure Net::HTTP.get('www.something.com', '/') # ===> Failure


Net::HTTP.get('localhost:9887', '/') # ===> Allowed. Perhaps to Selenium? Net::HTTP.get('localhost:9887', '/') # ===> Allowed. Perhaps to Selenium?


## Setting Expectations ## Setting Expectations


Expand Down

0 comments on commit 4c6c6a9

Please sign in to comment.