Skip to content

Commit

Permalink
(maint) Fix typos in previous tests
Browse files Browse the repository at this point in the history
  • Loading branch information
melissa committed Sep 25, 2017
1 parent dc4c2b0 commit 9f651dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/beaker-puppet/install_utils/puppet5_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@ def run_shared_test_steps
allow( subject ).to receive( :install_artifact_on )

expect( subject ).to receive( :configure_type_defaults_on ).with( hosts[0] ).once
subject.install_from_build_data_url( 'project_name', 'project_sha', host[0] )
subject.install_from_build_data_url( 'project_name', 'project_sha', hosts[0] )
end

it 'calls #configure_type_defaults_on custom array of hosts if set' do
Expand All @@ -250,7 +250,7 @@ def run_shared_test_steps

custom_host_list = hosts.sample(1 + rand(hosts.count))

custom_host_list do |host|
custom_host_list.each do |host|
expect( subject ).to receive( :configure_type_defaults_on ).with( host ).once
end
subject.install_from_build_data_url( 'project_name', 'project_sha', custom_host_list )
Expand Down

0 comments on commit 9f651dc

Please sign in to comment.