From 32225387c1e714f742b07fdf7121a2a0bc523c62 Mon Sep 17 00:00:00 2001 From: "yuuji.yaginuma" Date: Sun, 27 Nov 2016 22:20:38 +0900 Subject: use public Module#include instead of send :include Follow up to #18767 --- actionpack/test/controller/integration_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionpack/test') 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 -- cgit v1.2.3