Sha256: c38e58a9463d166afc482100ff1f348e250a44bbcf125eb11ee3d64bb75434d2
Contents?: true
Size: 332 Bytes
Versions: 18
Compression:
Stored size: 332 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Hyperdrive::Errors::HTTPError do before do @error = Hyperdrive::Errors::HTTPError.new("I'M A TEAPOT", 418) end it "returns a 500 status code" do @error.http_status_code.must_equal 418 end it "has a message" do @error.message.must_match(/TEAPOT/) end end
Version data entries
18 entries across 18 versions & 1 rubygems