summaryrefslogtreecommitdiff
path: root/spec/acceptance
diff options
context:
space:
mode:
authorJohn Duarte <john.duarte@puppetlabs.com>2014-05-12 11:02:15 -0700
committerJohn Duarte <john.duarte@puppetlabs.com>2014-05-18 11:38:19 -0700
commit8d0d19cc6d7d684b526ddc00172ca1db65207073 (patch)
tree8ba50d07845b30b76aa3389e974074402f34154b /spec/acceptance
parent93a410c9ad3d8b3cb8da1ce79040cd00475fceaf (diff)
Fix root path depth for negative shallow tests
Diffstat (limited to 'spec/acceptance')
-rw-r--r--spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_file_path.rb2
-rw-r--r--spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_file_path.rb b/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_file_path.rb
index 9cebe45..a2565db 100644
--- a/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_file_path.rb
+++ b/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_file_path.rb
@@ -7,7 +7,7 @@ hosts.each do |host|
tmpdir = host.tmpdir('vcsrepo')
step 'setup - create repo' do
install_package(host, 'git')
- my_root = File.expand_path(File.join(File.dirname(__FILE__), '../../../..'))
+ my_root = File.expand_path(File.join(File.dirname(__FILE__), '../../../../..'))
scp_to(host, "#{my_root}/acceptance/files/create_git_repo.sh", tmpdir)
on(host, "cd #{tmpdir} && ./create_git_repo.sh")
end
diff --git a/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb b/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb
index f80239b..a67ec00 100644
--- a/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb
+++ b/spec/acceptance/beaker/git/shallow_clone/negative/shallow_clone_http.rb
@@ -7,7 +7,7 @@ hosts.each do |host|
tmpdir = host.tmpdir('vcsrepo')
step 'setup - create repo' do
install_package(host, 'git')
- my_root = File.expand_path(File.join(File.dirname(__FILE__), '../../../..'))
+ my_root = File.expand_path(File.join(File.dirname(__FILE__), '../../../../..'))
scp_to(host, "#{my_root}/acceptance/files/create_git_repo.sh", tmpdir)
on(host, "cd #{tmpdir} && ./create_git_repo.sh")
end