Sha256: 03d005cf5f42310ae03ad7ad5101c88b471400aecc40c746308dec10fdd42acd
Contents?: true
Size: 311 Bytes
Versions: 1
Compression:
Stored size: 311 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Hyperdrive::Errors::HTTPError do before do @error = Hyperdrive::Errors::HTTPError.new end it "returns a 500 status code" do @error.http_status_code.must_equal 500 end it "has a message" do @error.message.must_match(/Unknown/) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hyperdrive-0.0.7 | spec/hyperdrive/errors/http_error_spec.rb |