Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
toothrot committed Feb 25, 2016
1 parent 858b0b1 commit cfe5c50
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions spec/lib/amplitude_api_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
)
expect(described_class).to receive(:track).with(event)

described_class.send_event('test_event', user, event_properties: {test_property: 1})
described_class.send_event('test_event', user, event_properties: { test_property: 1 })
end

context 'the user is nil' do
Expand All @@ -141,7 +141,7 @@
)
expect(described_class).to receive(:track).with(event)

described_class.send_event('test_event', nil, event_properties: {test_property: 1})
described_class.send_event('test_event', nil, event_properties: { test_property: 1 })
end
end

Expand All @@ -154,7 +154,7 @@
)
expect(described_class).to receive(:track).with(event)

described_class.send_event('test_event', user.id, event_properties: {test_property: 1})
described_class.send_event('test_event', user.id, event_properties: { test_property: 1 })
end

it 'sends arbitrary user_properties to AmplitudeAPI' do
Expand All @@ -169,7 +169,7 @@
described_class.send_event(
'test_event',
user.id,
event_properties: {test_property: 1},
event_properties: { test_property: 1 },
user_properties: { test_user_property: 'abc' }
)
end
Expand Down

0 comments on commit cfe5c50

Please sign in to comment.