Sha256: 878964a951b6627ef409771aa9d37ab286f66172967a5d125f864082223282c3
Contents?: true
Size: 425 Bytes
Versions: 2
Compression:
Stored size: 425 Bytes
Contents
# # This file is part of the apes gem. Copyright (C) 2016 and above Shogun <shogun@cowtech.it>. # Licensed under the MIT license, which can be found at https://choosealicense.com/licenses/mit. # require "spec_helper" describe Apes::Errors::BaseError do it "should save details" do subject = Apes::Errors::BaseError.new({a: 1}) expect(subject.message).to eq("") expect(subject.details).to eq({a: 1}) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
apes-1.0.3 | spec/apes/errors_spec.rb |
apes-1.0.2 | spec/apes/errors_spec.rb |