Skip to content

Commit

Permalink
Fix hanging tests when having signed commits enabled
Browse files Browse the repository at this point in the history
  • Loading branch information
revolter committed Oct 21, 2022
1 parent 33261c8 commit 0f5634d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions fastlane/spec/actions_specs/import_from_git_spec.rb
Expand Up @@ -50,7 +50,7 @@ def git_version
FASTFILE
`git add .`
`git commit --message "Version 1"`
`git tag "1"`
`git tag "1" --message "Version 1"`

File.write('fastlane/FastfileExtra', <<-FASTFILE)
lane :works_extra do
Expand All @@ -59,7 +59,7 @@ def git_version
FASTFILE
`git add .`
`git commit --message "Version 2"`
`git tag "2"`
`git tag "2" --message "Version 2"`

File.write('FastfileRoot', <<-FASTFILE)
lane :works_root do
Expand All @@ -68,7 +68,7 @@ def git_version
FASTFILE
`git add .`
`git commit --message "Version 3"`
`git tag "3"`
`git tag "3" --message "Version 3"`

`mkdir fastlane/actions`
FileUtils.mkdir_p('fastlane/actions')
Expand All @@ -89,7 +89,7 @@ def self.is_supported?(platform)
FASTFILE
`git add .`
`git commit --message "Version 4"`
`git tag "4"`
`git tag "4" --message "Version 4"`

`git checkout tags/2 -b version-2.1 2>&1`
File.write('fastlane/Fastfile', <<-FASTFILE)
Expand Down Expand Up @@ -183,7 +183,7 @@ def self.is_supported?(platform)
FASTFILE
`git add .`
`git commit --message "Version 5"`
`git tag "5"`
`git tag "5" --message "Version 5"`
end

allow(UI).to receive(:message)
Expand Down Expand Up @@ -259,7 +259,7 @@ def self.is_supported?(platform)
FASTFILE
`git add .`
`git commit --message "Version 6"`
`git tag "6"`
`git tag "6" --message "Version 6"`
end

allow(UI).to receive(:message)
Expand Down

0 comments on commit 0f5634d

Please sign in to comment.