Sha256: e5e4c6b393cf78737dee2db2b8e0bd12cf27827ca22b657db78839aa3342e6af

Contents?: true

Size: 392 Bytes

Versions: 6925

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,925 entries across 6,922 versions & 28 rubygems

Version Path
ory-oathkeeper-client-0.38.24.beta1 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha153 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha152 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha151 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha150 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha149 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha148 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha147 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-kratos-client-0.9.0.alpha3 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha146 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha145 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-kratos-client-0.9.0.alpha2 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha144 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha143 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha142 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha141 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha140 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha139 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha138 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb
ory-client-0.0.1.alpha134 vendor/bundle/ruby/2.5.0/gems/typhoeus-1.4.0/spec/typhoeus/errors/no_stub_spec.rb