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