Skip to content

Commit fd72f77

Browse files
committed
Fix errors
1 parent 80d0c16 commit fd72f77

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

spec/event/event_factory_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
allow(Time).to receive(:now).and_return(time_now)
3535
allow(SecureRandom).to receive(:uuid).and_return('a68cf1ad-0393-4e18-af87-efe8f01a7c9c')
3636

37-
@expected_endpoints[:US] = {
37+
@expected_endpoints = {
3838
US: 'https://logx.optimizely.com/v1/events',
3939
EU: 'https://eu.logx.optimizely.com/v1/events'
4040
}

spec/event_builder_spec.rb

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@
3939
allow(Time).to receive(:now).and_return(time_now)
4040
allow(SecureRandom).to receive(:uuid).and_return('a68cf1ad-0393-4e18-af87-efe8f01a7c9c')
4141

42-
@expected_endpoints = {}
43-
@expected_endpoints[:US] = 'https://logx.optimizely.com/v1/events'
44-
@expected_endpoints[:EU] = 'https://eu.logx.optimizely.com/v1/events'
42+
@expected_endpoints = {
43+
US: 'https://logx.optimizely.com/v1/events',
44+
EU: 'https://eu.logx.optimizely.com/v1/events'
45+
}
4546
@expected_impression_params = {
4647
account_id: '12001',
4748
project_id: '111001',

0 commit comments

Comments
 (0)