say silence when you mean silence
This commit is contained in:
parent
c88dddbe4d
commit
ead9e4e626
@ -187,7 +187,7 @@ def test_builder_option_with_http
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user