Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@aeden
Created October 18, 2010 10:02
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save aeden/631992 to your computer and use it in GitHub Desktop.
Save aeden/631992 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