Permalink
Browse files

Merge pull request #27891 from y-yagi/ignore_yarn_error_log

Ignore yarn error log file
  • Loading branch information...
eileencodes committed Feb 3, 2017
2 parents 91c6eb6 + 422f00b commit 7ca367238d9db240095241edb8a801eaf23200d7
@@ -23,6 +23,7 @@
<% unless options[:skip_yarn] -%>
/vendor/node_modules
/vendor/yarn-error.log
<% end -%>
.byebug_history
@@ -508,6 +508,11 @@ def test_generator_for_yarn_skipped
assert_file "config/initializers/assets.rb" do |content|
assert_no_match(/node_modules/, content)
end
assert_file ".gitignore" do |content|
assert_no_match(/vendor\/node_modules/, content)
assert_no_match(/vendor\/yarn-error\.log/, content)
end
end
def test_inclusion_of_jbuilder

0 comments on commit 7ca3672

Please sign in to comment.