diff options
author | Xavier Noria <fxn@hashref.com> | 2011-05-13 00:46:45 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2011-05-13 01:06:27 +0200 |
commit | ead9e4e6267be4def4e83cf7fe1ea4197ddf4eff (patch) | |
tree | b6af3149b5edabb2ca774406ea2fc4f55737a01f /railties | |
parent | c88dddbe4d40c9e0590df4d6f76c02c46448264d (diff) | |
download | rails-ead9e4e6267be4def4e83cf7fe1ea4197ddf4eff.tar.gz rails-ead9e4e6267be4def4e83cf7fe1ea4197ddf4eff.tar.bz2 rails-ead9e4e6267be4def4e83cf7fe1ea4197ddf4eff.zip |
say silence when you mean silence
Diffstat (limited to 'railties')
-rw-r--r-- | railties/test/generators/shared_generator_tests.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/shared_generator_tests.rb b/railties/test/generators/shared_generator_tests.rb index 524aa2a05f..8fd657787e 100644 --- a/railties/test/generators/shared_generator_tests.rb +++ b/railties/test/generators/shared_generator_tests.rb @@ -187,7 +187,7 @@ module SharedCustomGeneratorTests template.instance_eval "def read; self; end" # Make the string respond to read generator([destination_root], :builder => path).expects(:open).with(path, 'Accept' => 'application/x-thor-template').returns(template) - capture(:stdout) { generator.invoke_all } + silence(:stdout) { generator.invoke_all } default_files.each{ |path| assert_no_file(path) } end |