example/bar.rb in opal-spec-0.0.3 vs example/bar.rb in opal-spec-0.1.1

- old
+ new

@@ -16,6 +16,12 @@ [1, 2, 3].should_not == [1, 2, 3, 4] [].should_not == [1] "foo".should_not == "bar" end + + it "should raise exceptions" do + lambda { + raise "foo" + }.should raise_error(Exception) + end end