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