test/lib/vedeu/dsl/interface_test.rb in vedeu-0.6.1 vs test/lib/vedeu/dsl/interface_test.rb in vedeu-0.6.2

- old
+ new

@@ -32,31 +32,31 @@ it { subject.must_be_instance_of(Vedeu::Interface) } context 'when the block is not given' do subject { described.interface('flourine') } - it { proc { subject }.must_raise(Vedeu::InvalidSyntax) } + it { proc { subject }.must_raise(Vedeu::Error::InvalidSyntax) } end context 'when the name is not given' do subject { described.interface('') do # ... end } - it { proc { subject }.must_raise(Vedeu::MissingRequired) } + it { proc { subject }.must_raise(Vedeu::Error::MissingRequired) } end end describe '#border' do after { Vedeu.borders.reset } context 'when the block is not given' do subject { instance.border } - it { proc { subject }.must_raise(Vedeu::InvalidSyntax) } + it { proc { subject }.must_raise(Vedeu::Error::InvalidSyntax) } end context 'when the block is given' do subject { instance.border { } } @@ -180,10 +180,10 @@ describe '#geometry' do context 'when the required block is not provided' do subject { instance.geometry } - it { proc { subject }.must_raise(Vedeu::InvalidSyntax) } + it { proc { subject }.must_raise(Vedeu::Error::InvalidSyntax) } end context 'when the block is given' do subject { instance.geometry { } }