From ef946812c16f2d5e9d120199378b5ade825740c3 Mon Sep 17 00:00:00 2001 From: John Duarte Date: Sat, 10 May 2014 21:40:19 -0700 Subject: Fix typos in verify steps for revision tests --- spec/acceptance/beaker/git/revision_checkout/revision_checkout_file.rb | 2 +- .../beaker/git/revision_checkout/revision_checkout_file_path.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/acceptance/beaker') 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 -- cgit v1.2.3