Skip to content

Commit

Permalink
Merge pull request #126 from fdupont-redhat/master
Browse files Browse the repository at this point in the history
Update method order_ansible_playbook.rb to match the move of create_service_provision_request
(cherry picked from commit ea938de)

https://bugzilla.redhat.com/show_bug.cgi?id=1461144
  • Loading branch information
gmcculloug authored and simaishi committed Jun 13, 2017
1 parent 6704283 commit 13d9967
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def initialize(handle = $evm)
end

def main
request = @handle.create_service_provision_request(
request = @handle.execute('create_service_provision_request',
service_template,
extra_vars.merge(:credential => machine_credential, :hosts => hosts)
)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
allow(ae_service).to receive(:vmdb).with('ServiceTemplate').and_return(svc_vmdb_handle)
allow(svc_vmdb_handle).to receive(:where).with(:name => svc_template.name).and_return([svc_service_template])
allow(svc_vm).to receive(:ipaddresses).and_return([ip1])
expect(ae_service).to receive(:create_service_provision_request).with(svc_service_template, extra_vars).and_return(svc_miq_request)
expect(ae_service).to receive(:execute).with('create_service_provision_request', svc_service_template, extra_vars).and_return(svc_miq_request)

described_class.new(ae_service).main
end
Expand Down

0 comments on commit 13d9967

Please sign in to comment.