Skip to content

Commit 287c05c

Browse files
committed
Remove nil values from the action call
To use defaults instead of actually passing `nil` as a value
1 parent 34865c2 commit 287c05c

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

spec/android_send_app_size_metrics_spec.rb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,12 +46,13 @@ def test_app_size_action(fake_aab_size:, fake_apks:, fake_universal_apk_sizes:,
4646
end
4747

4848
# Act
49-
code = run_described_fastlane_action(
49+
action_params = {
5050
api_url: File.join('file://localhost/', output_file),
5151
aab_path: aab_path,
5252
universal_apk_path: universal_apk_path,
5353
**other_action_args
54-
)
54+
}.compact
55+
code = run_described_fastlane_action(action_params)
5556

5657
# Asserts
5758
expect(code).to eq(201)

0 commit comments

Comments
 (0)