diff options
author | Jean Boussier <jean.boussier@gmail.com> | 2019-07-11 17:39:19 +0200 |
---|---|---|
committer | Jean Boussier <jean.boussier@gmail.com> | 2019-07-12 10:47:23 +0200 |
commit | 71476313e0f94b7887bcb7aad3956c0d62505f4c (patch) | |
tree | e7415c92023dc51965ec59433c83bc2d4a232a49 /activesupport/test | |
parent | 59f450500c37466fe7834cb1d3fa3a6cc8e643b5 (diff) | |
download | rails-71476313e0f94b7887bcb7aad3956c0d62505f4c.tar.gz rails-71476313e0f94b7887bcb7aad3956c0d62505f4c.tar.bz2 rails-71476313e0f94b7887bcb7aad3956c0d62505f4c.zip |
Implement UnboundMethod#duplicable?
Diffstat (limited to 'activesupport/test')
-rw-r--r-- | activesupport/test/core_ext/object/duplicable_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/test/core_ext/object/duplicable_test.rb b/activesupport/test/core_ext/object/duplicable_test.rb index c9af2cb624..a577c30c40 100644 --- a/activesupport/test/core_ext/object/duplicable_test.rb +++ b/activesupport/test/core_ext/object/duplicable_test.rb @@ -6,7 +6,7 @@ require "active_support/core_ext/object/duplicable" require "active_support/core_ext/numeric/time" class DuplicableTest < ActiveSupport::TestCase - RAISE_DUP = [method(:puts)] + RAISE_DUP = [method(:puts), method(:puts).unbind] ALLOW_DUP = ["1", "symbol_from_string".to_sym, Object.new, /foo/, [], {}, Time.now, Class.new, Module.new, BigDecimal("4.56"), nil, false, true, 1, 2.3, Complex(1), Rational(1)] def test_duplicable |