summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--spec/acceptance/beaker_helper.rb2
-rw-r--r--spec/spec_helper_acceptance.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/acceptance/beaker_helper.rb b/spec/acceptance/beaker_helper.rb
index 4f0121f..414796d 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
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