From ce8efcf296479b506ff36695398f6c88ea3c9e72 Mon Sep 17 00:00:00 2001 From: robertomiranda Date: Sat, 31 Jan 2015 23:12:37 -0500 Subject: Use public Module#include, in favor of https://bugs.ruby-lang.org/issues/8846 ref: https://github.com/rails/rails/pull/18763#issuecomment-72349769 --- actionview/test/activerecord/controller_runtime_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionview/test/activerecord') diff --git a/actionview/test/activerecord/controller_runtime_test.rb b/actionview/test/activerecord/controller_runtime_test.rb index 469adff39a..af91348d76 100644 --- a/actionview/test/activerecord/controller_runtime_test.rb +++ b/actionview/test/activerecord/controller_runtime_test.rb @@ -4,7 +4,7 @@ require 'fixtures/project' require 'active_support/log_subscriber/test_helper' require 'action_controller/log_subscriber' -ActionController::Base.send :include, ActiveRecord::Railties::ControllerRuntime +ActionController::Base.include(ActiveRecord::Railties::ControllerRuntime) class ControllerRuntimeLogSubscriberTest < ActionController::TestCase class LogSubscriberController < ActionController::Base -- cgit v1.2.3