fixing tests

This commit is contained in:
Jared Cosulich 2017-04-20 08:18:46 -04:00
parent 2e796899f8
commit 25a7035861

View file

@ -91,6 +91,11 @@ RSpec.describe RecipientSchedule, type: :model do
end
describe 'with an opted in recipient' do
before :each do
date = ActiveSupport::TimeZone["UTC"].parse('2017-04-20T20:00:00')
Timecop.freeze(date)
end
let!(:attempt) { recipient_schedule.attempt_question }
it 'should make an attempt to ask the next question' do