DEV: Set commit.gpgsign=false for test Git repos (#8891)

This commit is contained in:
Dan Ungureanu 2020-02-10 08:34:00 +02:00 committed by GitHub
parent 8054ce735b
commit 478c095e5c
1 changed files with 1 additions and 0 deletions

View File

@ -11,6 +11,7 @@ describe RemoteTheme do
`cd #{repo_dir} && git init . ` `cd #{repo_dir} && git init . `
`cd #{repo_dir} && git config user.email 'someone@cool.com'` `cd #{repo_dir} && git config user.email 'someone@cool.com'`
`cd #{repo_dir} && git config user.name 'The Cool One'` `cd #{repo_dir} && git config user.name 'The Cool One'`
`cd #{repo_dir} && git config commit.gpgsign 'false'`
files.each do |name, data| files.each do |name, data|
FileUtils.mkdir_p(Pathname.new("#{repo_dir}/#{name}").dirname) FileUtils.mkdir_p(Pathname.new("#{repo_dir}/#{name}").dirname)
File.write("#{repo_dir}/#{name}", data) File.write("#{repo_dir}/#{name}", data)