summaryrefslogtreecommitdiff
path: root/spec/acceptance/beaker/git/revision_checkout
diff options
context:
space:
mode:
Diffstat (limited to 'spec/acceptance/beaker/git/revision_checkout')
-rw-r--r--spec/acceptance/beaker/git/revision_checkout/revision_checkout_file.rb2
-rw-r--r--spec/acceptance/beaker/git/revision_checkout/revision_checkout_file_path.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/acceptance/beaker/git/revision_checkout/revision_checkout_file.rb b/spec/acceptance/beaker/git/revision_checkout/revision_checkout_file.rb
index 3ff44ec..8ca10bd 100644
--- a/spec/acceptance/beaker/git/revision_checkout/revision_checkout_file.rb
+++ b/spec/acceptance/beaker/git/revision_checkout/revision_checkout_file.rb
@@ -36,7 +36,7 @@ hosts.each do |host|
apply_manifest_on(host, pp)
end
- stop "verify repo is checked out to revision #{sha}" do
+ step "verify repo is checked out to revision #{@sha}" do
on(host, "ls #{tmpdir}/#{repo_name}/.git/") do |res|
fail_test('checkout not found') unless res.stdout.include? "HEAD"
end
diff --git a/spec/acceptance/beaker/git/revision_checkout/revision_checkout_file_path.rb b/spec/acceptance/beaker/git/revision_checkout/revision_checkout_file_path.rb
index cd92139..2410e2e 100644
--- a/spec/acceptance/beaker/git/revision_checkout/revision_checkout_file_path.rb
+++ b/spec/acceptance/beaker/git/revision_checkout/revision_checkout_file_path.rb
@@ -36,7 +36,7 @@ hosts.each do |host|
apply_manifest_on(host, pp)
end
- stop "verify repo is checked out to revision #{sha}" do
+ step "verify repo is checked out to revision #{@sha}" do
on(host, "ls #{tmpdir}/#{repo_name}/.git/") do |res|
fail_test('checkout not found') unless res.stdout.include? "HEAD"
end