diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-03-20 18:09:16 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-03-20 18:09:16 -0300 |
commit | c35ebe17d8b8f3c045dd0e178aedd294aa21edc2 (patch) | |
tree | 00affb81ca2fba5b5c896089624187b4a5356319 /activesupport/test/core_ext | |
parent | 7815fe4634fcb255583631fa84b50aeeeab0d51e (diff) | |
parent | d5bddc1b2d3d794b2eddcb7309f41f87a8d665c1 (diff) | |
download | rails-c35ebe17d8b8f3c045dd0e178aedd294aa21edc2.tar.gz rails-c35ebe17d8b8f3c045dd0e178aedd294aa21edc2.tar.bz2 rails-c35ebe17d8b8f3c045dd0e178aedd294aa21edc2.zip |
Merge pull request #19413 from kirs/replace-alias_method_chain
Replace occurences of alias_method_chain with their Module#prepend counterpart
Diffstat (limited to 'activesupport/test/core_ext')
-rw-r--r-- | activesupport/test/core_ext/marshal_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/test/core_ext/marshal_test.rb b/activesupport/test/core_ext/marshal_test.rb index 8f3f710dfd..e49330128b 100644 --- a/activesupport/test/core_ext/marshal_test.rb +++ b/activesupport/test/core_ext/marshal_test.rb @@ -15,7 +15,7 @@ class MarshalTest < ActiveSupport::TestCase sanity_data = ["test", [1, 2, 3], {a: [1, 2, 3]}, ActiveSupport::TestCase] sanity_data.each do |obj| dumped = Marshal.dump(obj) - assert_equal Marshal.load_without_autoloading(dumped), Marshal.load(dumped) + assert_equal Marshal.method(:load).super_method.call(dumped), Marshal.load(dumped) end end @@ -121,4 +121,4 @@ class MarshalTest < ActiveSupport::TestCase end end end -end
\ No newline at end of file +end |