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