Parent

Files

Test::Unit::TestCase

Public Instance Methods

setup() click to toggle source
    # 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
Also aliased as: setup_without_webmock
setup_without_webmock() click to toggle source
Alias for: setup
teardown() click to toggle source
    # 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
Also aliased as: teardown_without_webmock
teardown_without_webmock() click to toggle source
Alias for: teardown

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.