Skip to content

Commit

Permalink
Merge pull request #17 from johnduarte/fix-install-pe_utils_spec
Browse files Browse the repository at this point in the history
(MAINT) Fix install/pe_utils spec test
  • Loading branch information
tvpartytonight authored Aug 2, 2016
2 parents 8256c0a + 5ca075c commit 187a413
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions spec/beaker-pe/install/pe_utils_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,10 @@ def slice_installer_options(host)
}, 2)
hosts[0][:roles] = ['master', 'database', 'dashboard']
hosts[1][:platform] = Beaker::Platform.new('el-6-x86_64')
opts[:HOSTS] = {}
hosts.each do |host|
opts[:HOSTS][host.name] = host
end

allow( subject ).to receive( :hosts ).and_return( hosts )
allow( subject ).to receive( :options ).and_return(Beaker::Options::Presets.new.presets)
Expand Down

0 comments on commit 187a413

Please sign in to comment.