Move TestJob to spec_helper.rb

This commit is contained in:
Dzmitry Plashchynski
2015-03-22 23:37:01 +02:00
parent fa97f573e0
commit 0c77c490bd
5 changed files with 11 additions and 26 deletions

View File

@@ -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))