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