File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change 1235
1235
imp_count = impression_counter . pop_all
1236
1236
expect ( imp_count . keys ( ) [ 0 ] . include? ( 'with_track_disabled' ) ) . to eq ( true )
1237
1237
expect ( imp_count . length ) . to eq ( 1 )
1238
- client_imp_toggle . destroy
1239
- sleep 1
1240
1238
end
1241
1239
it 'debug mode' do
1242
1240
splits_imp_toggle = File . read ( File . join ( SplitIoClient . root , 'spec/test_data/splits/imp-toggle.json' ) )
1271
1269
imp_count = impression_counter . pop_all
1272
1270
expect ( imp_count . keys ( ) [ 0 ] . include? ( 'with_track_disabled' ) ) . to eq ( true )
1273
1271
expect ( imp_count . length ) . to eq ( 1 )
1274
- client_imp_toggle . destroy
1275
- sleep 1
1276
1272
end
1277
- it 'debug mode' do
1273
+ it 'none mode' do
1278
1274
splits_imp_toggle = File . read ( File . join ( SplitIoClient . root , 'spec/test_data/splits/imp-toggle.json' ) )
1279
1275
stub_request ( :get , 'https://sdk.split.io/api/splitChanges?s=1.1&since=-1' )
1280
1276
. to_return ( status : 200 , body : splits_imp_toggle )
1308
1304
expect ( imp_count . keys ( ) [ 1 ] . include? ( 'with_track_enabled' ) ) . to eq ( true )
1309
1305
expect ( imp_count . keys ( ) [ 2 ] . include? ( 'without_track' ) ) . to eq ( true )
1310
1306
expect ( imp_count . length ) . to eq ( 3 )
1311
- client_imp_toggle . destroy
1312
- sleep 1
1313
1307
end
1314
1308
end
1315
1309
end
You can’t perform that action at this time.
0 commit comments