Sha256: 19d420f1e0ba1a56ea9be18c6eec2dc06696eb6ef4655ab8e9dead15a04d0ef4

Contents?: true

Size: 318 Bytes

Versions: 17

Compression:

Stored size: 318 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe Hyperdrive::Errors::NoResponse do
  before do
    @error = Hyperdrive::Errors::NoResponse.new
  end

  it "returns a 444 status code" do
    @error.http_status_code.must_equal 444
  end

  it "has a message" do
    @error.message.must_match(/No response/)
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
hyperdrive-0.0.25 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.24 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.23 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.22 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.21 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.20 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.19 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.18 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.17 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.16 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.15 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.14 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.13 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.12 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.11 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.10 spec/hyperdrive/errors/no_response_spec.rb
hyperdrive-0.0.9 spec/hyperdrive/errors/no_response_spec.rb