File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 45
45
46
46
expect ( telemetry . interval ) . to eq ( 120 )
47
47
expect ( telemetry . timer . execution_interval ) . to eq ( 120 )
48
- expect ( stub ) . to have_been_requested
48
+ expect ( stub ) . to have_been_requested . at_least_once
49
49
end
50
50
51
51
it "phones home and requests shutdown if telemetry-shutdown header is true" do
67
67
result : true ,
68
68
} )
69
69
telemetry . stop
70
- expect ( stub ) . to have_been_requested
70
+ expect ( stub ) . to have_been_requested . at_least_once
71
71
expect ( output . string ) . to match ( /action=telemetry_shutdown message=The server has requested that telemetry be shut down./ )
72
72
end
73
73
90
90
result : true ,
91
91
} )
92
92
telemetry . stop
93
- expect ( stub ) . to have_been_requested
93
+ expect ( stub ) . to have_been_requested . at_least_once
94
94
expect ( output . string ) . not_to match ( /action=telemetry_shutdown message=The server has requested that telemetry be shut down./ )
95
95
end
96
96
You can’t perform that action at this time.
0 commit comments