Sha256: a527737cfe19a3747a0c01a4248bb87ddb7bb47fed637b0809ab9212efdb681c
Contents?: true
Size: 296 Bytes
Versions: 29
Compression:
Stored size: 296 Bytes
Contents
require 'spec_helper' describe Shutl::Resource::Error do specify "it has a body and status" do error = Shutl::Resource::Error.new({errors: {base: ["something went wrong"]}}, 500) error.body.should == {errors: {base: ["something went wrong"]}} error.status.should == 500 end end
Version data entries
29 entries across 29 versions & 1 rubygems