spec/lib/shellplay/session_spec.rb in shellplay-0.1.6 vs spec/lib/shellplay/session_spec.rb in shellplay-0.1.7
- old
+ new
@@ -24,10 +24,10 @@
end
end
context "when we import an invalid file, " do
it "should break and throw exception" do
- expect { subject.import('/file/notfound') }.to raise_error
+ expect { subject.import('/file/notfound') }.to raise_error(Errno::ENOENT)
end
end
end