lib/resque_spec.rb in resque_spec-0.4.1 vs lib/resque_spec.rb in resque_spec-0.4.2
- old
+ new
@@ -1,6 +1,8 @@
require 'resque_spec/resque_spec'
require 'resque_spec/resque_scheduler_spec'
+require 'resque_spec/helpers'
-module ResqueSpec
- VERSION = '0.4.0'.freeze
-end
+config = RSpec.configuration
+config.include ResqueSpec::Helpers
+
+World(ResqueSpec::Helpers) if defined?(Cucumber)