Skip to content

Commit

Permalink
Test az_to_cn method from super
Browse files Browse the repository at this point in the history
  • Loading branch information
d-m-u committed Jan 19, 2018
1 parent bf8a382 commit 4583169
Showing 1 changed file with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,18 @@
end
end

context "availability_zone_to_cloud_network" do
it "has one when it should" do
FactoryGirl.create(:cloud_network_google, :ext_management_system => provider.network_manager)

expect(workflow.allowed_cloud_networks.size).to eq(1)
end

it "has none when it should" do
expect(workflow.allowed_cloud_networks.size).to eq(0)
end
end

context "#display_name_for_name_description" do
let(:flavor) { FactoryGirl.create(:flavor_openstack) }

Expand Down

0 comments on commit 4583169

Please sign in to comment.