test/lib/vedeu/coercers/lines_test.rb in vedeu-0.8.15 vs test/lib/vedeu/coercers/lines_test.rb in vedeu-0.8.16

- old
+ new

@@ -29,9 +29,13 @@ let(:_value) { klass.new } it { subject.must_be_instance_of(klass) } it { subject.must_equal(_value) } end + + context 'when the value is not already the target class' do + it { proc { subject }.must_raise(Vedeu::Error::Fatal) } + end end end # Lines end # Coercers