test/lib/vedeu/dsl/composition_test.rb in vedeu-0.6.12 vs test/lib/vedeu/dsl/composition_test.rb in vedeu-0.6.13
- old
+ new
@@ -26,10 +26,10 @@
it { subject.must_be_instance_of(Vedeu::Views::ViewCollection) }
it { subject[0].must_be_instance_of(Vedeu::Views::View) }
context 'when the block is not given' do
- it { proc { instance.view }.must_raise(Vedeu::Error::InvalidSyntax) }
+ it { proc { instance.view }.must_raise(Vedeu::Error::RequiresBlock) }
end
end
describe '#template_for' do
let(:_name) {}