diff options
author | John Duarte <john.duarte@puppetlabs.com> | 2014-05-10 21:40:19 -0700 |
---|---|---|
committer | John Duarte <john.duarte@puppetlabs.com> | 2014-05-18 11:38:19 -0700 |
commit | ef946812c16f2d5e9d120199378b5ade825740c3 (patch) | |
tree | 4e6a3b8f908afa9fa965062c2caebce39ae36fbc | |
parent | 591725e0f2a0dd0dd31b0086dbd4068bd302b0e1 (diff) | |
download | puppet-vcsrepo-ef946812c16f2d5e9d120199378b5ade825740c3.tar.gz puppet-vcsrepo-ef946812c16f2d5e9d120199378b5ade825740c3.tar.bz2 |
Fix typos in verify steps for revision tests
-rw-r--r-- | spec/acceptance/beaker/git/revision_checkout/revision_checkout_file.rb | 2 | ||||
-rw-r--r-- | spec/acceptance/beaker/git/revision_checkout/revision_checkout_file_path.rb | 2 |
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 |