features/step_definitions/check_steps.rb in bard-0.6.10 vs features/step_definitions/check_steps.rb in bard-0.7.0

- old
+ new

@@ -43,34 +43,5 @@ Given /^the submodule has a detached head$/ do Dir.chdir "submodule" do type "git checkout `git rev-parse HEAD`" end end - -Given /^my "([^\"]*)" environment variable is "([^\"]*)"$/ do |key, value| - @env ||= Hash.new - @env[key] = value -end - -Given /^there is no git hook on the staging server$/ do - Dir.chdir "#{ROOT}/tmp/origin" do - type "rm .git/hooks/post-receive" - end -end - -Given /^the git hook on the staging server is not executable$/ do - Dir.chdir "#{ROOT}/tmp/origin" do - type "chmod 664 .git/hooks/post-receive" - end -end - -Given /^the git hook on the staging server is bad$/ do - 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