resque_spec 0.6.0 → 0.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -81,6 +81,8 @@ Then I write some code to make it pass:
81
81
  ResqueScheduler with Specs
82
82
  --------------------------
83
83
 
84
+ To use with ResqueScheduler, add this require `require 'resque_spec/scheduler'`
85
+
84
86
  Given this scenario
85
87
 
86
88
  Given a person
@@ -51,11 +51,11 @@ RSpec::Matchers.define :have_queue_size_of do |size|
51
51
  end
52
52
 
53
53
  failure_message_for_should do |actual|
54
- "expected that #{actual} would have #{size} entries queued, but got #{@queue.size} instead"
54
+ "expected that #{actual} would have #{size} entries queued, but got #{queue(actual).size} instead"
55
55
  end
56
56
 
57
57
  failure_message_for_should_not do |actual|
58
- "expected that #{actual} would not have #{size} entries queued, but got #{@queue..size} instead"
58
+ "expected that #{actual} would not have #{size} entries queued, but got #{queue(actual).size} instead"
59
59
  end
60
60
 
61
61
  description do
@@ -1,3 +1,3 @@
1
1
  module ResqueSpec
2
- VERSION = "0.6.0"
2
+ VERSION = "0.6.1"
3
3
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: resque_spec
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.0
5
+ version: 0.6.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Les Hill
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-04-08 00:00:00 -07:00
13
+ date: 2011-04-12 00:00:00 -04:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -35,6 +35,17 @@ dependencies:
35
35
  version: 2.5.0
36
36
  type: :runtime
37
37
  version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: ruby-debug19
40
+ prerelease: false
41
+ requirement: &id003 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: "0"
47
+ type: :development
48
+ version_requirements: *id003
38
49
  description: RSpec matchers for Resque
39
50
  email: leshill@gmail.com
40
51
  executables: []