Skip to content

Instantly share code, notes, and snippets.

@lengarvey
Created June 30, 2015 01:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lengarvey/ce08600ffcb0a8119d7a to your computer and use it in GitHub Desktop.
Save lengarvey/ce08600ffcb0a8119d7a to your computer and use it in GitHub Desktop.
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