resque_spec 0.12.7 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -21,6 +21,18 @@ your tests!)
21
21
  gem 'resque_spec'
22
22
  end
23
23
 
24
+ Cucumber
25
+ --------
26
+
27
+ By default, the above will add the `ResqueSpec` module and make it available in
28
+ Cucumber. If you want the `with_resque` and `without_resque` helpers, manually
29
+ require the `resque\_spec/cucumber` module:
30
+
31
+ require 'resque\_spec/cucumber'
32
+
33
+ This can be done in `features/support/env.rb` or in a specific support file
34
+ such as `features/support/resque.rb`.
35
+
24
36
  What is ResqueSpec?
25
37
  ===================
26
38
 
@@ -0,0 +1,3 @@
1
+ require 'resque_spec'
2
+
3
+ World(ResqueSpec::Helpers)
@@ -1,3 +1,3 @@
1
1
  module ResqueSpec
2
- VERSION = "0.12.7"
2
+ VERSION = "0.13.0"
3
3
  end
data/lib/resque_spec.rb CHANGED
@@ -107,5 +107,3 @@ end
107
107
 
108
108
  config = RSpec.configuration
109
109
  config.include ResqueSpec::Helpers
110
-
111
- World(ResqueSpec::Helpers) if defined?(World)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: resque_spec
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.7
4
+ version: 0.13.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-12-06 00:00:00.000000000 Z
12
+ date: 2013-01-07 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: resque
@@ -113,6 +113,7 @@ executables: []
113
113
  extensions: []
114
114
  extra_rdoc_files: []
115
115
  files:
116
+ - lib/resque_spec/cucumber.rb
116
117
  - lib/resque_spec/ext.rb
117
118
  - lib/resque_spec/helpers.rb
118
119
  - lib/resque_spec/matchers.rb