Browse files

Fix doc typo in FakeWeb.allow_net_connect=

  • Loading branch information...
1 parent 1550dac commit e87a2f4ff608949ff60ca3560e427e572fdc374b @chrisk committed May 14, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/fake_web.rb
View
2 lib/fake_web.rb
@@ -25,7 +25,7 @@ def self.clean_registry
# registered URIs.
#
# If you set <tt>FakeWeb.allow_net_connect = false</tt> and subsequently try
- # to make a request to a URI you haven't registered with #register_uri, a
+ # to make a request to a URI you haven't registered with .register_uri, a
# NetConnectNotAllowedError will be raised. This is handy when you want to
# make sure your tests are self-contained, or want to catch the scenario
# when a URI is changed in implementation code without a corresponding test

0 comments on commit e87a2f4

Please sign in to comment.