Lint the whole project

This commit is contained in:
Dzmitry Plashchynski
2015-03-13 20:32:27 +02:00
parent 1aa27baca8
commit a9798acb35
23 changed files with 203 additions and 172 deletions

View File

@@ -1,12 +1,13 @@
require "spec_helper"
require 'spec_helper'
class TestJob
def perform;end
def perform
end
end
describe Crono::PerformerProxy do
it "should add job to schedule" do
it 'should add job to schedule' do
expect(Crono.scheduler).to receive(:add_job).with(kind_of(Crono::Job))
Crono.perform(TestJob).every(2.days, at: "15:30")
Crono.perform(TestJob).every(2.days, at: '15:30')
end
end