diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-11-27 22:20:38 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-11-27 22:20:52 +0900 |
commit | 32225387c1e714f742b07fdf7121a2a0bc523c62 (patch) | |
tree | e90ba10e9d0a2596c3b5282ba2ffaa6ba09051bf /actionpack/test | |
parent | 5921043f9e51dfe0750c13f1ca58d3c912e729c7 (diff) | |
download | rails-32225387c1e714f742b07fdf7121a2a0bc523c62.tar.gz rails-32225387c1e714f742b07fdf7121a2a0bc523c62.tar.bz2 rails-32225387c1e714f742b07fdf7121a2a0bc523c62.zip |
use public Module#include instead of send :include
Follow up to #18767
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/integration_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/integration_test.rb b/actionpack/test/controller/integration_test.rb index d8be5d32e1..d3aa81a0f7 100644 --- a/actionpack/test/controller/integration_test.rb +++ b/actionpack/test/controller/integration_test.rb @@ -145,7 +145,7 @@ class IntegrationTestTest < ActiveSupport::TestCase name.to_s == "foo" ? "pass" : super end end - @test.class.superclass.__send__(:include, mixin) + @test.class.superclass.include(mixin) begin assert_equal "pass", @test.foo ensure |