Skip to content

Commit f185466

Browse files
author
Bilal Al
committed
fixed test
1 parent 8606c0f commit f185466

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

spec/integrations/in_memory_client_spec.rb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,8 +1235,6 @@
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'))
@@ -1271,10 +1269,8 @@
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)
@@ -1308,8 +1304,6 @@
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
13151309
end

0 commit comments

Comments
 (0)