Created
June 30, 2015 01:26
-
-
Save lengarvey/ce08600ffcb0a8119d7a to your computer and use it in GitHub Desktop.
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
class FooWorker | |
def perform | |
# the perform in the worker only does a single thing | |
# write a test to check if this is queued | |
BarService.run | |
end | |
end | |
class BarService | |
# write unit tests for this service class | |
def run | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment