提交 23f99ed7 编写于 作者: Y Yuji Yaginuma 提交者: David Heinemeier Hansson

fix broken tests (#27308)

Follow up to 0d20530e
上级 fbd33b91
......@@ -495,10 +495,10 @@ def test_generator_for_yarn
end
def test_generator_for_yarn_skipped
run_generator([destination_root])
run_generator([destination_root, "--skip-yarn"])
assert_no_file "vendor/package.json"
assert_file "config/environments/production.rb" do |content|
assert_file "config/initializers/assets.rb" do |content|
assert_no_match(/node_modules/, content)
end
end
......@@ -741,7 +741,6 @@ def test_create_keeps
test/helpers
test/integration
tmp
vendor/assets/stylesheets
)
folders_with_keep.each do |folder|
assert_file("#{folder}/.keep")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册