# File lib/webmock/adapters/test_unit.rb, line 6 6: def setup 7: WebMock.reset_webmock 8: @original_allow_net_connect = WebMock.net_connect_allowed? 9: WebMock.disable_net_connect! 10: end
# File lib/webmock/adapters/test_unit.rb, line 13 13: def teardown 14: @original_allow_net_connect ? WebMock.allow_net_connect! : WebMock.disable_net_connect! 15: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.