diff options
author | Justin Stoller <justin.stoller@gmail.com> | 2014-07-14 13:45:09 -0700 |
---|---|---|
committer | Justin Stoller <justin.stoller@gmail.com> | 2014-07-14 14:32:36 -0700 |
commit | 7eb9ce2a3905f0b825bb4640847498572c70ca76 (patch) | |
tree | 7675e97616dbd4aeb8cb59534a6f69eb85d1ba18 /spec/acceptance | |
parent | 9dfea1f1898bedb04ec829a292c80f69d7f7d95c (diff) |
(maint) Use `copy_module_to` in `beaker_helper.rb`
Previously we were using `puppet_module_install()`. Which was ported from
Beaker-RSpec. Unfortunately for our heros that method has been refactored
since this was ran last. The method `puppet_module_install()` in Beaker
installs from the public forge, while the previous behavior, installing via
scp from the current directory, has moved to the method `copy_module_to`.
This updates the helper for the beaker tests to use the updated method.
Diffstat (limited to 'spec/acceptance')
-rw-r--r-- | spec/acceptance/beaker_helper.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/acceptance/beaker_helper.rb b/spec/acceptance/beaker_helper.rb index 592b15d..4d23204 100644 --- a/spec/acceptance/beaker_helper.rb +++ b/spec/acceptance/beaker_helper.rb @@ -25,8 +25,8 @@ test_name "Installing Puppet and vcsrepo module" do hosts.each do |host| proj_root = File.expand_path(File.join(File.dirname(__FILE__),'..','..')) - # This require beaker 1.12.2 I believe - puppet_module_install(:source => proj_root, :module_name => 'vcsrepo') + # This require beaker 1.15 + copy_module_to(host, :source => proj_root, :module_name => 'vcsrepo') case fact_on(host, 'osfamily') when 'RedHat' |