Runs the generator before assertions

This commit is contained in:
yuuji.yaginuma 2018-10-12 18:38:25 +09:00
parent 8df7ed3b88
commit 29b1984a05
1 changed files with 1 additions and 0 deletions

View File

@ -209,6 +209,7 @@ class AppGeneratorTest < Rails::Generators::TestCase
end
def test_new_application_doesnt_need_defaults
run_generator
assert_no_file "config/initializers/new_framework_defaults_6_0.rb"
end