File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 12351235 imp_count = impression_counter . pop_all
12361236 expect ( imp_count . keys ( ) [ 0 ] . include? ( 'with_track_disabled' ) ) . to eq ( true )
12371237 expect ( imp_count . length ) . to eq ( 1 )
1238- client_imp_toggle . destroy
1239- sleep 1
12401238 end
12411239 it 'debug mode' do
12421240 splits_imp_toggle = File . read ( File . join ( SplitIoClient . root , 'spec/test_data/splits/imp-toggle.json' ) )
12711269 imp_count = impression_counter . pop_all
12721270 expect ( imp_count . keys ( ) [ 0 ] . include? ( 'with_track_disabled' ) ) . to eq ( true )
12731271 expect ( imp_count . length ) . to eq ( 1 )
1274- client_imp_toggle . destroy
1275- sleep 1
12761272 end
1277- it 'debug mode' do
1273+ it 'none mode' do
12781274 splits_imp_toggle = File . read ( File . join ( SplitIoClient . root , 'spec/test_data/splits/imp-toggle.json' ) )
12791275 stub_request ( :get , 'https://sdk.split.io/api/splitChanges?s=1.1&since=-1' )
12801276 . to_return ( status : 200 , body : splits_imp_toggle )
13081304 expect ( imp_count . keys ( ) [ 1 ] . include? ( 'with_track_enabled' ) ) . to eq ( true )
13091305 expect ( imp_count . keys ( ) [ 2 ] . include? ( 'without_track' ) ) . to eq ( true )
13101306 expect ( imp_count . length ) . to eq ( 3 )
1311- client_imp_toggle . destroy
1312- sleep 1
13131307 end
13141308 end
13151309end
You can’t perform that action at this time.
0 commit comments