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 2
2
3
3
describe Fastlane ::Actions ::IosBumpVersionReleaseAction do
4
4
let ( :default_branch ) { 'my_new_branch' }
5
- let ( :ensure_git_action_instance ) { double ( ) }
6
5
let ( :versions ) { [ '6.30' ] }
7
6
let ( :next_version ) { '6.31.0.0' }
8
7
let ( :next_version_short ) { '6.31' }
9
8
10
9
describe 'creates the release branch, bumps the app version and commits the changes' do
11
10
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 )
14
14
15
15
allow ( Fastlane ::Helper ::GitHelper ) . to receive ( :checkout_and_pull ) . with ( default_branch )
16
16
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