diff options
author | Matthew Draper <matthew@trebex.net> | 2017-09-04 02:24:53 +0930 |
---|---|---|
committer | Matthew Draper <matthew@trebex.net> | 2017-09-04 05:44:45 +0930 |
commit | 07bac9ef93d98a1e31cd5b2ce2aabc1e57816604 (patch) | |
tree | 02593b879f35c3c90aa41dfe6095ecd558b077b3 | |
parent | c9fc8f80212297da02c8fd3fd6c2ba05f9bc0c65 (diff) | |
download | rails-07bac9ef93d98a1e31cd5b2ce2aabc1e57816604.tar.gz rails-07bac9ef93d98a1e31cd5b2ce2aabc1e57816604.tar.bz2 rails-07bac9ef93d98a1e31cd5b2ce2aabc1e57816604.zip |
Don't need the layout here
-rw-r--r-- | railties/test/application/current_attributes_integration_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
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 |