Commit 23deaf4e1359096395211fa72ff38820a3a4c3f1
1 parent
87f2fc55
Exists in
rails5
rails5: drop removed #silence_stream
Showing
2 changed files
with
2 additions
and
6 deletions
Show diff stats
features/step_definitions/noosfero_steps.rb
... | ... | @@ -751,9 +751,7 @@ When /^wait for the captcha signup time$/ do |
751 | 751 | end |
752 | 752 | |
753 | 753 | Given /^there are no pending jobs$/ do |
754 | - silence_stream(STDOUT) do | |
755 | - Delayed::Worker.new.work_off | |
756 | - end | |
754 | + Delayed::Worker.new.work_off | |
757 | 755 | end |
758 | 756 | |
759 | 757 | Given /^the field (.*) is public for all users$/ do |field| | ... | ... |
test/test_helper.rb
... | ... | @@ -181,9 +181,7 @@ class ActiveSupport::TestCase |
181 | 181 | end |
182 | 182 | |
183 | 183 | def process_delayed_job_queue |
184 | - silence_stream STDOUT do | |
185 | - Delayed::Worker.new.work_off | |
186 | - end | |
184 | + Delayed::Worker.new.work_off | |
187 | 185 | end |
188 | 186 | |
189 | 187 | def uses_postgresql(schema_name = 'test_schema') | ... | ... |