Skip to content

Instantly share code, notes, and snippets.

@azuby
Created February 2, 2012 07:36
Show Gist options
  • Save azuby/1722208 to your computer and use it in GitHub Desktop.
Save azuby/1722208 to your computer and use it in GitHub Desktop.
puts "Hello"
Resque.enqueue(Clocker, clock.id)
.Hello
F...............
Failures:
1) ClocksController POST 'create' with valid params enqueues job
Failure/Error: Resque.should_receive(:enqueue)
(Resque Client connected to redis://127.0.0.1:6379/0).enqueue(any args)
expected: 1 time
received: 0 times
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment