File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 370
370
371
371
expect ( subject . size ) . to eq 1
372
372
expect ( subject . first . id ) . to eq ( 'plan-id' )
373
- expect ( subject . first . addon_configs . first . id ) . to eq ( 'oss_tier_credits' )
373
+ expect ( subject . first . addon_configs . first [ 'id' ] ) . to eq ( 'oss_tier_credits' )
374
374
end
375
375
end
376
376
383
383
384
384
expect ( subject . size ) . to eq 1
385
385
expect ( subject . first . id ) . to eq ( 'plan-id' )
386
- expect ( subject . first . addon_configs . first . id ) . to eq ( 'oss_tier_credits' )
386
+ expect ( subject . first . addon_configs . first [ 'id' ] ) . to eq ( 'oss_tier_credits' )
387
387
end
388
388
end
389
389
end
396
396
. to_return ( body : JSON . dump ( [ billing_addon_usage_response_body ] ) )
397
397
398
398
expect ( subject . size ) . to eq 1
399
- expect ( subject . addon_quantity ) . to eq 100
400
- expect ( subject . addon_usage ) . to eq 0
399
+ expect ( subject . first . addon_quantity ) . to eq 100
400
+ expect ( subject . first . addon_usage ) . to eq 0
401
401
end
402
402
end
403
403
You can’t perform that action at this time.
0 commit comments