spec/lib/rtml/widget_spec.rb in rtml-2.0.3 vs spec/lib/rtml/widget_spec.rb in rtml-2.0.4
- old
+ new
@@ -50,8 +50,9 @@
end
it "should not hang if entry point does not exist" do
# If the test succeeds, the method will be missing. However, if it fails, it'll just hang the app,
# so dev needs to figure out why the hard way.
+ # Update: Now I'm getting stack level errors, instead of hanging systems, when it fails. Progress.
lambda { @doc.missing_widget_entry_point }.should raise_error(NoMethodError)
end
end