File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 22
33describe Fastlane ::Actions ::IosBumpVersionReleaseAction do
44 let ( :default_branch ) { 'my_new_branch' }
5- let ( :ensure_git_action_instance ) { double ( ) }
65 let ( :versions ) { [ '6.30' ] }
76 let ( :next_version ) { '6.31.0.0' }
87 let ( :next_version_short ) { '6.31' }
98
109 describe 'creates the release branch, bumps the app version and commits the changes' do
1110 before do
12- allow ( Fastlane ::Action ) . to receive ( :other_action ) . and_return ( ensure_git_action_instance )
13- allow ( ensure_git_action_instance ) . to receive ( :ensure_git_branch ) . with ( branch : default_branch )
11+ other_action_mock = double ( )
12+ allow ( Fastlane ::Action ) . to receive ( :other_action ) . and_return ( other_action_mock )
13+ allow ( other_action_mock ) . to receive ( :ensure_git_branch ) . with ( branch : default_branch )
1414
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 )
You can’t perform that action at this time.
0 commit comments