File: test_webmock.rb

package info (click to toggle)
ruby-webmock 3.25.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,172 kB
  • sloc: ruby: 12,829; makefile: 6
file content (12 lines) | stat: -rw-r--r-- 411 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
require File.expand_path(File.dirname(__FILE__) + '/test_helper')
require File.expand_path(File.dirname(__FILE__) + '/shared_test')

class TestWebMock < Test::Unit::TestCase
  include SharedTest

  def teardown
    # Ensure global Test::Unit teardown was called
    assert_empty WebMock::RequestRegistry.instance.requested_signatures.hash
    assert_empty WebMock::StubRegistry.instance.request_stubs
  end
end