Sha256: 3ad1b73e8323210e90fc602719cd91775d12a51eda34e61fd9da03ad2349ff99
Contents?: true
Size: 459 Bytes
Versions: 2
Compression:
Stored size: 459 Bytes
Contents
# encoding: utf-8 describe AbstractMapper::Errors::WrongNode do subject(:error) { described_class.new Symbol } describe ".new" do it { is_expected.to be_kind_of TypeError } it { is_expected.to be_frozen } end # describe .new describe "#message" do subject { error.message } it { is_expected.to eql "Symbol is not a subclass of AbstractMapper::Node" } end # describe #message end # describe AbstractMapper::Errors::WrongNode
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
abstract_mapper-0.0.2 | spec/unit/abstract_mapper/errors/wrong_node_spec.rb |
abstract_mapper-0.0.1 | spec/unit/abstract_mapper/errors/wrong_node_spec.rb |