Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: a3ba3ec12b
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (16 sloc) 0.486 kb
require 'spec_helper'
require 'procrastinate/implicit'
describe "Implicit use of the scheduler", :type => :acceptance do
class ImplicitSpecWorker
def do_something
'bar'
end
end
context "when scheduling through Procrastinate module" do
before(:each) { Procrastinate.reset }
let(:proxy) { Procrastinate.proxy(ImplicitSpecWorker.new) }
subject { proxy.do_something }
before(:each) { subject }
its(:value) { should == 'bar' }
end
end
Jump to Line
Something went wrong with that request. Please try again.