Skip to content

Commit 73ae88f

Browse files
committed
remove hardcoded test variables
1 parent 1390eaa commit 73ae88f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/fastlane-plugin/spec/send_build_to_bugsnag_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def run_with args
113113
end
114114

115115
it "multiple key:value pairs added as a hash" do
116-
expect(Kernel).to receive(:system).with("#{BUGSNAG_CLI_PATH} create-build --api-key 12345678901234567890123456789DDD --version-name 4.0-project --bundle-version 22 --builder-name #{BUILDER} --revision #{GIT_REVISION} --repository https://github.com/bugsnag/bugsnag-dsym-upload --metadata \"custom_field_1\"=\"value1\", \"custom_field_2\"=\"value2\"").and_return(true)
116+
expect(Kernel).to receive(:system).with("#{BUGSNAG_CLI_PATH} create-build --api-key 12345678901234567890123456789DDD --version-name 4.0-project --bundle-version 22 --builder-name #{BUILDER} --revision #{GIT_REVISION} --repository https://github.com/bugsnag/bugsnag-dsym-upload --metadata \"custom_field_1\"=\"value1\",\"custom_field_2\"=\"value2\"").and_return(true)
117117
Dir.chdir(File.join(FIXTURE_PATH, 'ios_proj')) do
118118
run_with({
119119
app_version: '4.0-project',

0 commit comments

Comments
 (0)