spec/mtif_spec.rb in mtif-0.0.1 vs spec/mtif_spec.rb in mtif-0.0.2
- old
+ new
@@ -4,10 +4,10 @@
end
context "#initialize" do
context 'without content' do
it 'should fail' do
- expect {MTIF.new}.to raise_error
+ expect {MTIF.new}.to raise_error(ArgumentError)
end
end
context 'with content' do
it 'should divide the content into posts' do
\ No newline at end of file