Commit 23deaf4e1359096395211fa72ff38820a3a4c3f1

Authored by Braulio Bhavamitra
1 parent 87f2fc55
Exists in rails5

rails5: drop removed #silence_stream

features/step_definitions/noosfero_steps.rb
@@ -751,9 +751,7 @@ When /^wait for the captcha signup time$/ do @@ -751,9 +751,7 @@ When /^wait for the captcha signup time$/ do
751 end 751 end
752 752
753 Given /^there are no pending jobs$/ do 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 end 755 end
758 756
759 Given /^the field (.*) is public for all users$/ do |field| 757 Given /^the field (.*) is public for all users$/ do |field|
test/test_helper.rb
@@ -181,9 +181,7 @@ class ActiveSupport::TestCase @@ -181,9 +181,7 @@ class ActiveSupport::TestCase
181 end 181 end
182 182
183 def process_delayed_job_queue 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 end 185 end
188 186
189 def uses_postgresql(schema_name = 'test_schema') 187 def uses_postgresql(schema_name = 'test_schema')