aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template
diff options
context:
space:
mode:
authorDillon Welch <daw0328@gmail.com>2017-11-03 19:58:28 -0700
committerDillon Welch <daw0328@gmail.com>2017-11-03 19:58:28 -0700
commit0f28957edd6a9c281491c854b455180efc040a1c (patch)
tree577d46d88937d4cc811e6860ce3cbdb2a1dad27a /actionview/test/template
parentec13ef75260f6d143e947b0e5176e35e4c1229c2 (diff)
parent9ec67362054e874ed905310a79b670941fa397af (diff)
downloadrails-0f28957edd6a9c281491c854b455180efc040a1c.tar.gz
rails-0f28957edd6a9c281491c854b455180efc040a1c.tar.bz2
rails-0f28957edd6a9c281491c854b455180efc040a1c.zip
Merge remote-tracking branch 'upstream/master' into nofollow-change
Diffstat (limited to 'actionview/test/template')
-rw-r--r--actionview/test/template/log_subscriber_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/template/log_subscriber_test.rb b/actionview/test/template/log_subscriber_test.rb
index a4d89ba0d1..7f4fd25573 100644
--- a/actionview/test/template/log_subscriber_test.rb
+++ b/actionview/test/template/log_subscriber_test.rb
@@ -30,7 +30,7 @@ class AVLogSubscriberTest < ActiveSupport::TestCase
ActiveSupport::LogSubscriber.log_subscribers.clear
# We need to undef `root`, RenderTestCases don't want this to be defined
- Rails.instance_eval { undef :root } if @defined_root
+ Rails.instance_eval { undef :root } if defined?(@defined_root)
end
def set_logger(logger)