diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/acceptance/beaker_helper.rb | 4 | ||||
-rw-r--r-- | spec/spec_helper_acceptance.rb | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/acceptance/beaker_helper.rb b/spec/acceptance/beaker_helper.rb index 4f0121f..6b5fd46 100644 --- a/spec/acceptance/beaker_helper.rb +++ b/spec/acceptance/beaker_helper.rb @@ -6,7 +6,7 @@ test_name "Installing Puppet and vcsrepo module" do install_pe else install_puppet - on hosts, "mkdir -p #{host['distmoduledir']}" + on hosts, "mkdir -p #{hosts.first['distmoduledir']}" end end end @@ -20,6 +20,6 @@ test_name "Installing Puppet and vcsrepo module" do email = root@localhost name = root EOS - create_remote_file(hosts.first, "/root/.gitconfig", script) + create_remote_file(hosts.first, "/root/.gitconfig", gitconfig) end end diff --git a/spec/spec_helper_acceptance.rb b/spec/spec_helper_acceptance.rb index 1294710..c371f1f 100644 --- a/spec/spec_helper_acceptance.rb +++ b/spec/spec_helper_acceptance.rb @@ -7,7 +7,7 @@ unless ENV['RS_PROVISION'] == 'no' install_pe else install_puppet - on hosts, "mkdir -p #{host['distmoduledir']}" + on hosts, "mkdir -p #{hosts.first['distmoduledir']}" end end end |