spec/exception_spec.rb in flail-0.1.1 vs spec/exception_spec.rb in flail-0.1.2
- old
+ new
@@ -22,6 +22,10 @@
lambda { subject.clean_unserializable_data({:test => string}).to_json }.should_not raise_error
end
end
end
+
+ it "should be able to accept and generic error with no request attached" do
+ lambda { Flail::Exception.notify(Exception.new) }.should_not raise_error
+ end
end