Permalink
Browse files

Tests were failing due to RhinoError not existing anymore replaced wi…

…th JavascriptError
  • Loading branch information...
1 parent d08b275 commit 81d36427c3b80313d2e6b31ff85621e36a471def @hexgnu committed Jun 9, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 spec/rhino/context_spec.rb
@@ -29,11 +29,11 @@
Context.open(:sealed => true) do |cxt|
lambda {
cxt.eval("Object.foop = 'blort'")
- }.should raise_error(Rhino::RhinoError)
+ }.should raise_error(Rhino::JavascriptError)
lambda {
cxt.eval("Object.prototype.toString = function() {}")
- }.should raise_error(Rhino::RhinoError)
+ }.should raise_error(Rhino::JavascriptError)
end
end

0 comments on commit 81d3642

Please sign in to comment.