Sha256: ffc3adde418d85dece60df23b84ccd6b1341ca8865e28d4030190f9bcd44cc3d

Contents?: true

Size: 455 Bytes

Versions: 6

Compression:

Stored size: 455 Bytes

Contents

require 'rubygems'
require 'rspec'
require 'net/http'
require 'net_http_shared'
require 'net/https'
require 'stringio'
require 'support/webmock_server'

describe "Real Net:HTTP without webmock", :without_webmock => true do
  before(:all) do
    raise "WebMock has no access here!!!" if defined?(WebMock::NetHTTPUtility)
    WebMockServer.instance.start
  end

  after(:all) do
    WebMockServer.instance.stop
  end

  it_should_behave_like "Net::HTTP"
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
webmock-1.7.5 spec/real_net_http_spec.rb
webmock-1.7.4 spec/real_net_http_spec.rb
webmock-1.7.3 spec/real_net_http_spec.rb
webmock-1.7.2 spec/real_net_http_spec.rb
webmock-1.7.1 spec/real_net_http_spec.rb
webmock-1.7.0 spec/real_net_http_spec.rb