提交 7cb49f55 编写于 作者: S Santiago Pastorino 提交者: José Valim

layout 'application' is not anymore on application_controller

Signed-off-by: NJosé Valim <jose.valim@gmail.com>
上级 dcc758ac
......@@ -59,7 +59,6 @@ def test_application_skeleton_is_created
def test_application_controller_and_layout_files
run_generator
assert_file "app/controllers/application_controller.rb", /layout 'application'/
assert_file "app/views/layouts/application.html.erb", /stylesheet_link_tag :all/
assert_no_file "public/stylesheets/application.css"
end
......@@ -272,4 +271,4 @@ def test_builder_option_with_http
def action(*args, &block)
silence(:stdout){ generator.send(*args, &block) }
end
end
\ No newline at end of file
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册