spec/models/vanilla_spec.rb in draftsman-0.4.0 vs spec/models/vanilla_spec.rb in draftsman-0.5.0

- old
+ new

@@ -285,11 +285,11 @@ describe 'live' do subject { Vanilla.live } it 'raises an exception' do - expect { subject.load }.to raise_exception + expect { subject.load }.to raise_exception(ActiveRecord::StatementInvalid) end end describe 'published' do subject { Vanilla.published } @@ -309,10 +309,10 @@ describe 'trashed' do subject { Vanilla.trashed } it 'raises an exception' do - expect { subject.load }.to raise_exception + expect { subject.load }.to raise_exception(ActiveRecord::StatementInvalid) end end end end