aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2014-08-24 18:34:44 +0200
committerRobin Dupret <robin.dupret@gmail.com>2014-10-28 13:00:28 +0100
commit3c58bf24c3b18a098ab2fbe4799416a1c1e20ace (patch)
treecd76c7234c68e5e6bbfae2a91170010785ec1a28 /activesupport/test/core_ext
parent38d6c722b23bae2eeb82a63fc1e78c0937bed17a (diff)
downloadrails-3c58bf24c3b18a098ab2fbe4799416a1c1e20ace.tar.gz
rails-3c58bf24c3b18a098ab2fbe4799416a1c1e20ace.tar.bz2
rails-3c58bf24c3b18a098ab2fbe4799416a1c1e20ace.zip
Skip an error message related assertion on Rubinius
Rubinius' error messages don't call `#inspect` on the concerned object while the assertion is here to address a wrong inspection on MRI with time zones so let's keep this test for now on Rubinius.
Diffstat (limited to 'activesupport/test/core_ext')
-rw-r--r--activesupport/test/core_ext/time_with_zone_test.rb2
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 3000da8da4..b2358f2b1d 100644
--- a/activesupport/test/core_ext/time_with_zone_test.rb
+++ b/activesupport/test/core_ext/time_with_zone_test.rb
@@ -807,6 +807,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
}