aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/core_ext/module/attr_accessor_with_default_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activesupport/test/core_ext/module/attr_accessor_with_default_test.rb')
-rw-r--r--activesupport/test/core_ext/module/attr_accessor_with_default_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/module/attr_accessor_with_default_test.rb b/activesupport/test/core_ext/module/attr_accessor_with_default_test.rb
index 9494ca9ef6..b9b60c4d6d 100644
--- a/activesupport/test/core_ext/module/attr_accessor_with_default_test.rb
+++ b/activesupport/test/core_ext/module/attr_accessor_with_default_test.rb
@@ -26,6 +26,6 @@ class AttrAccessorWithDefaultTest < Test::Unit::TestCase
end
def test_invalid_args
- assert_raise(RuntimeError) {@target.attr_accessor_with_default :foo}
+ assert_raise(ArgumentError) {@target.attr_accessor_with_default :foo}
end
end