File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 16
16
campaign
17
17
end
18
18
19
- let ( :sub ) { create ( :caffeinate_campaign_subscription , campaign : campaign ) }
19
+ let ( :sub ) { create ( :caffeinate_campaign_subscription , caffeinate_campaign : campaign ) }
20
20
21
21
it 'succeeds' do
22
22
expect ( sub . caffeinate_mailings . first . send_at . to_i ) . to eq 3 . days . from_now . to_i
31
31
campaign
32
32
end
33
33
34
- let ( :sub ) { create ( :caffeinate_campaign_subscription , campaign : campaign ) }
34
+ let ( :sub ) { create ( :caffeinate_campaign_subscription , caffeinate_campaign : campaign ) }
35
35
36
36
it 'succeeds' do
37
37
expect ( sub . mailings . first . send_at . to_i ) . to eq 2 . days . from_now . to_i
@@ -58,7 +58,7 @@ def five_pm(evaluator, mailing)
58
58
campaign
59
59
end
60
60
61
- let ( :sub ) { create ( :caffeinate_campaign_subscription , campaign : campaign ) }
61
+ let ( :sub ) { create ( :caffeinate_campaign_subscription , caffeinate_campaign : campaign ) }
62
62
63
63
it 'succeeds' do
64
64
expect ( sub . mailings . first . send_at . to_i ) . to eq ( 3 . days . from_now . change ( hour : 17 , min : 2 , sec : 2 ) . to_i )
You can’t perform that action at this time.
0 commit comments