features/step_definitions/check_steps.rb in bard-0.5.2 vs features/step_definitions/check_steps.rb in bard-0.5.3
- old
+ new
@@ -67,5 +67,10 @@
Dir.chdir "#{ROOT}/tmp/origin" do
type "echo 'bad' > .git/hooks/post-receive"
end
end
+Given /^the staging server git config for receive.denyCurrentBranch is not "ignore"$/ do
+ Dir.chdir "#{ROOT}/tmp/origin" do
+ type "git config --unset receive.denyCurrentBranch"
+ end
+end