suppress print output when running specs

This commit is contained in:
Arpit Jalan 2017-10-31 16:00:09 +05:30
parent 58bb3c14f6
commit b3e61ebb38
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ RSpec.describe "Post rake tasks" do
before do
Rake::Task.clear
Discourse::Application.load_tasks
IO.any_instance.stubs(:puts)
STDOUT.stubs(:write)
end
describe 'remap' do