Skip to content

Commit 898f210

Browse files
committed
fix: lint
1 parent 18e1fb2 commit 898f210

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

spec/customer_portal_spec.rb

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,14 @@
99
it 'creates an account link' do
1010
user = client.user.all_children.children.first
1111

12-
account_link = client.customer_portal.create_account_link({
13-
session_type: "account_onboarding",
14-
user_id: user.id,
15-
refresh_url: "https://example.com/refresh",
16-
return_url: "https://example.com/return",
17-
})
12+
account_link = client.customer_portal.create_account_link(
13+
{
14+
session_type: 'account_onboarding',
15+
user_id: user.id,
16+
refresh_url: 'https://example.com/refresh',
17+
return_url: 'https://example.com/return',
18+
},
19+
)
1820

1921
expect(account_link.object).to eq('CustomerPortalAccountLink')
2022
end

spec/embeddable_spec.rb

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,12 @@
99
it 'creates a session' do
1010
user = client.user.all_children.children.first
1111

12-
session = client.embeddable.create_session({
13-
origin_host: "https://example.com",
14-
user_id: user.id,
15-
})
12+
session = client.embeddable.create_session(
13+
{
14+
origin_host: 'https://example.com',
15+
user_id: user.id,
16+
},
17+
)
1618

1719
expect(session.object).to eq('EmbeddablesSession')
1820
end

0 commit comments

Comments
 (0)