Sha256: 6da430f4ec856e1bef835bc25f17fea4d9cdea8c5f985f92b32e2bd4078aedda
Contents?: true
Size: 527 Bytes
Versions: 6
Compression:
Stored size: 527 Bytes
Contents
# encoding: utf-8 # # This file is part of the bovem gem. Copyright (C) 2013 and above Shogun <shogun@cowtech.it>. # 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
6 entries across 6 versions & 1 rubygems