Skip to content

Commit b5f1efd

Browse files
committed
tidy up cli arg creation
1 parent 9a80296 commit b5f1efd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/fastlane-plugin/spec/bugsnag_upload_dsym_action_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def run_with args
167167
allow(Fastlane::Actions::UploadSymbolsToBugsnagAction).to receive(:version_from_cli).and_return("1.0.0")
168168
allow(Fastlane::Actions::UploadSymbolsToBugsnagAction).to receive(:bundled_bugsnag_cli_version).and_return(bundled_bugsnag_cli_version)
169169

170-
expect(Fastlane::UI).to receive(:warning).with("The installed bugsnag-cli at /Users/runner/work/bugsnag-dsym-upload/bugsnag-dsym-upload/tools/fastlane-plugin/spec/fixtures/dummy_bugsnag_cli.sh is outdated (1.0.0). The current bundled version is: #{bundled_bugsnag_cli_version}. It is recommended that you either update your installed version or use the bundled version.")
170+
expect(Fastlane::UI).to receive(:warning).with("The installed bugsnag-cli at #{cli_path} is outdated (1.0.0). The current bundled version is: #{bundled_bugsnag_cli_version}. It is recommended that you either update your installed version or use the bundled version.")
171171
expect(Kernel).to receive(:system).with("#{cli_path} upload dsym --project-root #{Dir::pwd} \"#{FIXTURE_PATH}\"").and_return(true)
172172

173173
run_with({dsym_path: FIXTURE_PATH, bugsnag_cli_path: cli_path})

0 commit comments

Comments
 (0)