Sha256: f6231e2dd7ffd7e1227d1c06dae3c8064b6a86378b48013d924755b7b3489537
Contents?: true
Size: 328 Bytes
Versions: 19
Compression:
Stored size: 328 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Hyperdrive::Errors::NotImplemented do before do @error = Hyperdrive::Errors::NotImplemented.new('TRACE') end it "returns a 501 status code" do @error.http_status_code.must_equal 501 end it "has a message" do @error.message.must_match(/TRACE/) end end
Version data entries
19 entries across 19 versions & 1 rubygems