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