Remove unneeded log

#186
This commit is contained in:
Artur Beljajev 2016-11-23 21:26:49 +02:00
parent ab77a1ae31
commit e1e41a962e
2 changed files with 1 additions and 13 deletions

View file

@ -38,15 +38,4 @@ RSpec.describe DomainCron do
@domain.reload
@domain.statuses.include?(DomainStatus::EXPIRED).should == true
end
describe '::start_expire_period', db: false do
before :example do
travel_to Time.zone.parse('05.07.2010')
end
it 'logs start time' do
expect(Rails.logger).to receive(:info).with('Expiring domains')
described_class.start_expire_period
end
end
end