Created
October 18, 2010 10:02
-
-
Save aeden/631992 to your computer and use it in GitHub Desktop.
Place in features/support to make Resque workers execute immediately
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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