File tree Expand file tree Collapse file tree 2 files changed +14
-10
lines changed
Expand file tree Collapse file tree 2 files changed +14
-10
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 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
You can’t perform that action at this time.
0 commit comments