mirror of
https://github.com/plashchynski/crono.git
synced 2026-04-21 16:31:31 +02:00
Move TestJob to spec_helper.rb
This commit is contained in:
@@ -1,10 +1,5 @@
|
||||
require 'spec_helper'
|
||||
|
||||
class TestJob
|
||||
def perform
|
||||
end
|
||||
end
|
||||
|
||||
describe Crono::PerformerProxy do
|
||||
it 'should add job to schedule' do
|
||||
expect(Crono.scheduler).to receive(:add_job).with(kind_of(Crono::Job))
|
||||
|
||||
Reference in New Issue
Block a user