From 07bac9ef93d98a1e31cd5b2ce2aabc1e57816604 Mon Sep 17 00:00:00 2001 From: Matthew Draper Date: Mon, 4 Sep 2017 02:24:53 +0930 Subject: Don't need the layout here --- railties/test/application/current_attributes_integration_test.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'railties') diff --git a/railties/test/application/current_attributes_integration_test.rb b/railties/test/application/current_attributes_integration_test.rb index 811721b331..146e96facc 100644 --- a/railties/test/application/current_attributes_integration_test.rb +++ b/railties/test/application/current_attributes_integration_test.rb @@ -39,6 +39,8 @@ class CurrentAttributesIntegrationTest < ActiveSupport::TestCase app_file "app/controllers/customers_controller.rb", <<-RUBY class CustomersController < ApplicationController + layout false + def set_current_customer Current.customer = Customer.new("david") render :index -- cgit v1.2.3