summaryrefslogtreecommitdiff
path: root/spec/spec_helper_acceptance.rb
diff options
context:
space:
mode:
authorHunter Haugen <hunter@puppetlabs.com>2014-05-27 12:41:31 -0700
committerHunter Haugen <hunter@puppetlabs.com>2014-05-27 12:43:07 -0700
commit521d321181c95eb042c23c8277e79cfe1d066117 (patch)
tree8da22df25e149a27aa06b00709eab97a2a3286f6 /spec/spec_helper_acceptance.rb
parentd98e0083f33f76e1ad13b650df81bdb18e4b59fe (diff)
Update tests for ubuntu 14.04
In ubuntu 14.04 git 1.9.1 is the default version, and 1.9+ fatally fail if the user.email and user.name are not set (previously it would just warn). This commit sets those up so the tests will actually run.
Diffstat (limited to 'spec/spec_helper_acceptance.rb')
-rw-r--r--spec/spec_helper_acceptance.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb
index dec9331..d0d84d0 100644
--- a/spec/spec_helper_acceptance.rb
+++ b/spec/spec_helper_acceptance.rb
@@ -34,6 +34,8 @@ RSpec.configure do |c|
exit
end
end
+ shell('git config --global user.email "root@localhost"')
+ shell('git config --global user.name "root"')
end
end
end