Sha256: 03a1fc201c515ec09a5721e3956b28d2cfe6a9ccb7b0a769c720bd58ec376ebc
Contents?: true
Size: 529 Bytes
Versions: 2
Compression:
Stored size: 529 Bytes
Contents
# encoding: utf-8 # # This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun_panda@me.com>. # Licensed under the MIT license, which can be found at http://www.opensource.org/licenses/mit-license.php. # require "spec_helper" describe Bovem::Errors::Error do describe "#initialize" do it "copies attributes" do error = Bovem::Errors::Error.new("A", "B", "C") expect(error.target).to eq("A") expect(error.reason).to eq("B") expect(error.message).to eq("C") end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
bovem-3.0.1 | spec/bovem/errors_spec.rb |
bovem-3.0.0 | spec/bovem/errors_spec.rb |