Commit c7aa896da2a05b536fedf9b7408735dd801dc946

Authored by Antonio Terceiro
1 parent b555684b

Silencing DJ queue processing during the tests

(ActionItem1640)
Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
features/step_definitions/invitation_steps.rb
@@ -19,5 +19,7 @@ Given /^I invite email "(.+)" to be my friend$/ do |email| @@ -19,5 +19,7 @@ Given /^I invite email "(.+)" to be my friend$/ do |email|
19 end 19 end
20 20
21 Given /^there are no pending jobs$/ do 21 Given /^there are no pending jobs$/ do
22 - Delayed::Worker.new.work_off 22 + silence_stream(STDOUT) do
  23 + Delayed::Worker.new.work_off
  24 + end
23 end 25 end