diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-02 11:22:03 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-01-02 11:22:03 -0300 |
commit | e8615b99c6bced24f7e6866d37589588f3924cc1 (patch) | |
tree | d40b04aedb19513efca6f465d122f3b6305260d1 | |
parent | acb199191080d25404f2b5b24e57517bf1b57336 (diff) | |
parent | 3c58bf24c3b18a098ab2fbe4799416a1c1e20ace (diff) | |
download | rails-e8615b99c6bced24f7e6866d37589588f3924cc1.tar.gz rails-e8615b99c6bced24f7e6866d37589588f3924cc1.tar.bz2 rails-e8615b99c6bced24f7e6866d37589588f3924cc1.zip |
Merge pull request #16749 from robin850/rbx-name-error
Rely on NameError#name instead of its error message
-rw-r--r-- | activesupport/test/core_ext/time_with_zone_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/test/core_ext/time_with_zone_test.rb b/activesupport/test/core_ext/time_with_zone_test.rb index ad4062e5fe..92c233d567 100644 --- a/activesupport/test/core_ext/time_with_zone_test.rb +++ b/activesupport/test/core_ext/time_with_zone_test.rb @@ -812,6 +812,8 @@ class TimeWithZoneTest < ActiveSupport::TestCase end def test_no_method_error_has_proper_context + rubinius_skip "Error message inconsistency" + e = assert_raises(NoMethodError) { @twz.this_method_does_not_exist } |