diff options
author | Alyssa Ross <hi@alyssa.is> | 2018-02-22 11:54:57 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2018-02-23 09:45:36 +0000 |
commit | 9f3bad4e352bc35352d91008182173ab50ecbca2 (patch) | |
tree | 35da89df905433338cc816d46fe6876c2ebb2d7b | |
parent | 3d8258586b0fab8899d9a6f801d301e8db4d3ba6 (diff) | |
download | bundler-9f3bad4e352bc35352d91008182173ab50ecbca2.tar.gz |
Don't GPG-sign test setup commits
This is extremely inconvenient (or sometimes plain broken) when the
person running the tests has `commit.gpgsign` enabled in their global
Git configuration.
-rw-r--r-- | spec/bundler/gem_helper_spec.rb | 1 | ||||
-rw-r--r-- | spec/support/builders.rb | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/spec/bundler/gem_helper_spec.rb b/spec/bundler/gem_helper_spec.rb index c36204c542..bd7cdc170a 100644 --- a/spec/bundler/gem_helper_spec.rb +++ b/spec/bundler/gem_helper_spec.rb @@ -197,6 +197,7 @@ RSpec.describe Bundler::GemHelper do `git init` `git config user.email "you@example.com"` `git config user.name "name"` + `git config commit.gpgsign false` `git config push.default simple` end diff --git a/spec/support/builders.rb b/spec/support/builders.rb index 4bc904aee8..e496df6ecb 100644 --- a/spec/support/builders.rb +++ b/spec/support/builders.rb @@ -653,6 +653,7 @@ module Spec `git add *` `git config user.email "lol@wut.com"` `git config user.name "lolwut"` + `git config commit.gpgsign false` `git commit -m 'OMG INITIAL COMMIT'` end end |