1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Don't need the layout here

This commit is contained in:
Matthew Draper 2017-09-04 02:24:53 +09:30
parent c9fc8f8021
commit 07bac9ef93

View file

@ -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