Fix private message error for JRuby.

This commit is contained in:
Jim Weirich
2013-04-09 10:10:24 -04:00
parent f03e0d21ee
commit e150dd6d9e

View File

@@ -130,7 +130,7 @@ class AboutMethods < EdgeCase::Koan
exception = assert_raise(___(NoMethodError)) do
self.my_private_method
end
assert_match /#{__("private method `my_private_method' called ")}/, exception.message
assert_match /#{__("method `my_private_method'")}/, exception.message
end
# ------------------------------------------------------------------