summaryrefslogtreecommitdiff
path: root/spec/acceptance/beaker/git/create/negative/create_bare_repo_specifying_revision.rb
diff options
context:
space:
mode:
authorJohn Duarte <john.duarte@puppetlabs.com>2014-05-21 18:17:31 -0700
committerJohn Duarte <john.duarte@puppetlabs.com>2014-05-21 18:17:31 -0700
commit2f875839afe843bd8a9f320d553fb3a28a7420f8 (patch)
tree681e6f1b03ca99eed51ad2bec40b9a3b192ee48f /spec/acceptance/beaker/git/create/negative/create_bare_repo_specifying_revision.rb
parent9057fca3a6862e699c153f3607e57f2360552eb7 (diff)
parent0d9e938e92a25673c3712866e2d2108a255b67d5 (diff)
Merge pull request #145 from hunner/fix_beaker_tests
Update specs and fix FM-1361
Diffstat (limited to 'spec/acceptance/beaker/git/create/negative/create_bare_repo_specifying_revision.rb')
-rw-r--r--spec/acceptance/beaker/git/create/negative/create_bare_repo_specifying_revision.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/acceptance/beaker/git/create/negative/create_bare_repo_specifying_revision.rb b/spec/acceptance/beaker/git/create/negative/create_bare_repo_specifying_revision.rb
index 6cd4f72..ece10a5 100644
--- a/spec/acceptance/beaker/git/create/negative/create_bare_repo_specifying_revision.rb
+++ b/spec/acceptance/beaker/git/create/negative/create_bare_repo_specifying_revision.rb
@@ -22,12 +22,12 @@ hosts.each do |host|
}
EOS
- apply_manifest_on(host, pp)
+ apply_manifest_on(host, pp, :expect_failures => true)
end
step 'verify repo does not contain .git directory' do
- on(host, "ls -al #{tmpdir}/#{repo_name}") do |res|
- fail_test "found .git for #{repo_name}" if res.stdout.include? ".git"
+ on(host, "ls -al #{tmpdir}") do |res|
+ fail_test "found repo for #{repo_name}" if res.stdout.include? repo_name
end
end