Skip to content

A platform for community discussion. Free, open, simple.

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

Dan Ungureanu478c095e5c78
diff --git a/spec/models/remote_theme_spec.rb b/spec/models/remote_theme_spec.rb
index 0c467e962ed..59d026a18b2 100644
--- a/spec/models/remote_theme_spec.rb
+++ b/spec/models/remote_theme_spec.rb
@@ -11,6 +11,7 @@ describe RemoteTheme do
`cd #{repo_dir} && git init . `
`cd #{repo_dir} && git config user.email '[email protected]'`
`cd #{repo_dir} && git config user.name 'The Cool One'`
+ `cd #{repo_dir} && git config commit.gpgsign 'false'`
files.each do |name, data|
FileUtils.mkdir_p(Pathname.new("#{repo_dir}/#{name}").dirname)
File.write("#{repo_dir}/#{name}", data)