Skip to content

Instantly share code, notes, and snippets.

@deivinsontejeda
Forked from aeden/resque.rb
Created April 18, 2012 17:30
Show Gist options
  • Save deivinsontejeda/2415289 to your computer and use it in GitHub Desktop.
Save deivinsontejeda/2415289 to your computer and use it in GitHub Desktop.
Place in features/support to make Resque workers execute immediately
Before do
module Resque
def self.enqueue(klass, *args)
klass.perform(*args)
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment