diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2016-12-22 07:43:29 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-12-22 07:43:29 +0100 |
commit | 2fd3034bf1862bb8e40c0a0a162316b8ff564d0e (patch) | |
tree | 46b443b3288a5c37a6c2d21a74383a4cf9ac6fbe /railties/test/application | |
parent | 3ae103554722a0e165c3db29ab60d45fdc07a6e9 (diff) | |
parent | baa8c5ad0fb3f860388eeec4421ccb8afa0096a8 (diff) | |
download | rails-2fd3034bf1862bb8e40c0a0a162316b8ff564d0e.tar.gz rails-2fd3034bf1862bb8e40c0a0a162316b8ff564d0e.tar.bz2 rails-2fd3034bf1862bb8e40c0a0a162316b8ff564d0e.zip |
Merge pull request #27431 from y-yagi/quiet_generator_log_in_test
quiet generators log in test
Diffstat (limited to 'railties/test/application')
-rw-r--r-- | railties/test/application/generators_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/generators_test.rb b/railties/test/application/generators_test.rb index d75577c5f6..d2ce14f594 100644 --- a/railties/test/application/generators_test.rb +++ b/railties/test/application/generators_test.rb @@ -177,7 +177,7 @@ module ApplicationTests FileUtils.cd(rails_root) do ARGV = ["mailer", "notifier", "foo"] Rails::Command.const_set("ARGV", ARGV) - Rails::Command.invoke :generate, ARGV + quietly { Rails::Command.invoke :generate, ARGV } assert_equal ["notifier", "foo"], ARGV end |