Sha256: d0a64a2fb176eba537abdcee29113d82e53234304979ad03ada86a4e3ffe422d

Contents?: true

Size: 569 Bytes

Versions: 14

Compression:

Stored size: 569 Bytes

Contents

require 'spec_helper'

describe "WebMock version" do
  it "should report version" do
    expect(WebMock.version).to eq(WebMock::VERSION)
  end

  it "should not require safe_yaml" do
    expect(defined?SafeYAML).to eq(nil)
  end

  it "should alias enable_net_connect! to allow_net_connect!" do
    expect(WebMock.method(:enable_net_connect!)).to eq(WebMock.method(:allow_net_connect!))
  end

  it "should alias disallow_net_connect! to disable_net_connect!" do
    expect(WebMock.method(:disallow_net_connect!)).to eq(WebMock.method(:disable_net_connect!))
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
webmock-3.8.3 spec/unit/webmock_spec.rb
webmock-3.8.2 spec/unit/webmock_spec.rb
webmock-3.8.1 spec/unit/webmock_spec.rb
webmock-3.8.0 spec/unit/webmock_spec.rb
honeybadger-4.5.3 vendor/bundle/ruby/2.6.0/gems/webmock-3.6.0/spec/unit/webmock_spec.rb
webmock-3.7.6 spec/unit/webmock_spec.rb
webmock-3.7.5 spec/unit/webmock_spec.rb
webmock-3.7.4 spec/unit/webmock_spec.rb
webmock-3.7.3 spec/unit/webmock_spec.rb
webmock-3.7.2 spec/unit/webmock_spec.rb
webmock-3.7.1 spec/unit/webmock_spec.rb
webmock-3.7.0 spec/unit/webmock_spec.rb
webmock-3.6.2 spec/unit/webmock_spec.rb
webmock-3.6.0 spec/unit/webmock_spec.rb