Sha256: e5e4c6b393cf78737dee2db2b8e0bd12cf27827ca22b657db78839aa3342e6af

Contents?: true

Size: 392 Bytes

Versions: 6854

Compression:

Stored size: 392 Bytes

Contents

require 'spec_helper'

describe Typhoeus::Errors::NoStub do
  let(:base_url) { "localhost:3001" }
  let(:request) { Typhoeus::Request.new(base_url) }
  let(:message) { "The connection is blocked and no stub defined: " }

  subject { Typhoeus::Errors::NoStub }

  it "displays the request url" do
    expect { raise subject.new(request) }.to raise_error(subject, message + base_url)
  end
end

Version data entries

6,854 entries across 6,851 versions & 28 rubygems

Version Path
mfk_openapi_ruby_client-1.0.0 vendor/bundle/ruby/2.7.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.54.15 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.53.79 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.53.17 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.53.3 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.53.1 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.52.121 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.52.92 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.52.79 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.52.5 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.52.0 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.51.93 vendor/bundle/ruby/2.3.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.51.38 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.51.37 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.51.34 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.51.22 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
typhoeus-1.4.0 spec/typhoeus/errors/no_stub_spec.rb
talon_one-2.0.0 vendor/bundle/ruby/2.3.0/gems/typhoeus-1.3.1/spec/typhoeus/errors/no_stub_spec.rb
talon_one-2.0.0 vendor/bundle/ruby/2.7.0/gems/typhoeus-1.3.1/spec/typhoeus/errors/no_stub_spec.rb
cloudsmith-api-0.49.118 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.3.1/spec/typhoeus/errors/no_stub_spec.rb