Permalink
Browse files

Use scheduled instead of queued in scheduled matchers

  • Loading branch information...
jcf committed May 3, 2011
1 parent ff397dc commit f8f7ad8312fcac86da97bb87490c6252b3958d5f
Showing with 4 additions and 4 deletions.
  1. +4 −4 lib/resque_spec/matchers.rb
@@ -69,11 +69,11 @@ def queue(actual)
end
failure_message_for_should do |actual|
- "expected that #{actual} would have [#{expected_args.join(', ')}] queued"
+ "expected that #{actual} would have [#{expected_args.join(', ')}] scheduled"
end
failure_message_for_should_not do |actual|
- "expected that #{actual} would not have [#{expected_args.join(', ')}] queued"
+ "expected that #{actual} would not have [#{expected_args.join(', ')}] scheduled"
end
description do
@@ -89,11 +89,11 @@ def queue(actual)
end
failure_message_for_should do |actual|
- "expected that #{actual} would have [#{expected_args.join(', ')}] queued"
+ "expected that #{actual} would have [#{expected_args.join(', ')}] scheduled"
end
failure_message_for_should_not do |actual|
- "expected that #{actual} would not have [#{expected_args.join(', ')}] queued"
+ "expected that #{actual} would not have [#{expected_args.join(', ')}] scheduled"
end
description do

0 comments on commit f8f7ad8

Please sign in to comment.