Skip to content

Commit 60a350c

Browse files
committed
Fix unit test that broke due changes in Ios::VersionHelper
1 parent c1bb8a4 commit 60a350c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/ios_bump_version_release_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
describe Fastlane::Actions::IosBumpVersionReleaseAction do
44
let(:default_branch) { 'my_new_branch' }
5-
let(:versions) { ['6.30'] }
5+
let(:version) { '6.30' }
66
let(:next_version) { '6.31.0.0' }
77
let(:next_version_short) { '6.31' }
88

@@ -15,7 +15,7 @@
1515
allow(Fastlane::Helper::GitHelper).to receive(:checkout_and_pull).with(default_branch)
1616
allow(Fastlane::Helper::GitHelper).to receive(:create_branch).with("release/#{next_version_short}", from: default_branch)
1717

18-
allow(Fastlane::Helper::Ios::VersionHelper).to receive(:get_version_strings).and_return(versions)
18+
allow(Fastlane::Helper::Ios::VersionHelper).to receive(:read_from_config_file).and_return(version)
1919
allow(Fastlane::Helper::Ios::VersionHelper).to receive(:update_xc_configs).with(next_version, next_version_short, nil)
2020
end
2121

0 commit comments

Comments
 (0)