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
ory-client-0.0.1.alpha78 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha77 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha76 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha75 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha74 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha73 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha72 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha71 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha70 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha69 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha68 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha67 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha66 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-oathkeeper-client-0.38.19.beta1 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-oathkeeper-client-0.38.18.beta1 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-oathkeeper-client-0.38.17.beta1 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
avalara_sdk-2.4.7 vendor/bundle/ruby/2.6.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha58 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha57 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha56 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb