Skip to content

Commit

Permalink
Fix reference to orchestration template factory that have been moved
Browse files Browse the repository at this point in the history
  • Loading branch information
bzwei committed Oct 4, 2017
1 parent 64e99dc commit f90e792
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/models/manageiq/providers/amazon/cloud_manager_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def create_ems_on_other_account(name)

context "#orchestration_template_validate" do
it "validates a correct template" do
template = FactoryGirl.create(:orchestration_template_cfn_with_content)
template = FactoryGirl.create(:orchestration_template_amazon_in_json)
stubbed_aws = {:validate_template => {}}
with_aws_stubbed(:cloudformation => stubbed_aws) do
ems = FactoryGirl.create(:ems_amazon_with_authentication)
Expand All @@ -311,7 +311,7 @@ def create_ems_on_other_account(name)
end

it "returns an error string for an incorrect template" do
template = FactoryGirl.create(:orchestration_template_cfn_with_content)
template = FactoryGirl.create(:orchestration_template_amazon_in_json)
stubbed_aws = {:validate_template => 'ValidationError'}
with_aws_stubbed(:cloudformation => stubbed_aws) do
ems = FactoryGirl.create(:ems_amazon_with_authentication)
Expand Down

0 comments on commit f90e792

Please sign in to comment.