Sha256: 1885be2b06669af7231fc52aa3ab88299b95aec1c17c1495e5b34f639d7f0187
Contents?: true
Size: 319 Bytes
Versions: 12
Compression:
Stored size: 319 Bytes
Contents
# encoding: utf-8 require 'spec_helper' describe Hyperdrive::Errors::JSONParseError do before do @error = Hyperdrive::Errors::JSONParseError.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(/JSON/) end end
Version data entries
12 entries across 12 versions & 1 rubygems