spec/spec_helper.rb in licensee-9.2.0 vs spec/spec_helper.rb in licensee-9.2.1
- old
+ new
@@ -52,14 +52,12 @@
# Note: we disable gpgsign and restore it to its original setting to avoid
# Signing commits during tests and slowing down / breaking specs
def git_init(path)
Dir.chdir path do
`git init`
- gpgsign = `git config --local commit.gpgsign`
`git config --local commit.gpgsign false`
`git add .`
`git commit -m 'initial commit'`
- `git config --local commit.gpgsign #{gpgsign}`
end
end
def format_percent(float)
"#{format('%.2f', float)}%"