Skip to content

Commit

Permalink
Update specs to look for CloudManager::AuthKeyPair
Browse files Browse the repository at this point in the history
  • Loading branch information
agrare committed Apr 12, 2019
1 parent bf7e8c4 commit ab29f3b
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def table_counts_from_api

def assert_table_counts(expected_table_counts)
actual = {
:auth_private_key => AuthPrivateKey.count,
:auth_private_key => ManageIQ::Providers::CloudManager::AuthKeyPair.count,
:cloud_volume => CloudVolume.count,
:cloud_volume_backup => CloudVolumeBackup.count,
:cloud_volume_snapshot => CloudVolumeSnapshot.count,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
end

it "#allowed_guest_access_key_pairs" do
kp = AuthPrivateKey.create(:name => "auth_1")
kp = ManageIQ::Providers::CloudManager::AuthKeyPair.create(:name => "auth_1")
ems.key_pairs << kp
expect(workflow.allowed_guest_access_key_pairs).to eq(kp.id => kp.name)
end
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -180,7 +180,7 @@ def expected_table_counts(disconnect = nil)

def assert_table_counts
actual = {
:auth_private_key => AuthPrivateKey.count,
:auth_private_key => ManageIQ::Providers::CloudManager::AuthKeyPair.count,
:ext_management_system => ExtManagementSystem.count,
:flavor => Flavor.count,
:availability_zone => AvailabilityZone.count,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def expected_table_counts

def assert_table_counts
actual = {
:auth_private_key => AuthPrivateKey.count,
:auth_private_key => ManageIQ::Providers::CloudManager::AuthKeyPair.count,
:ext_management_system => ExtManagementSystem.count,
:flavor => Flavor.count,
:availability_zone => AvailabilityZone.count,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def expected_table_counts

def assert_table_counts
actual = {
:auth_private_key => AuthPrivateKey.count,
:auth_private_key => ManageIQ::Providers::CloudManager::AuthKeyPair.count,
:ext_management_system => ExtManagementSystem.count,
:flavor => Flavor.count,
:availability_zone => AvailabilityZone.count,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -407,7 +407,7 @@ def expected_table_counts

def assert_table_counts
actual = {
:auth_private_key => AuthPrivateKey.count,
:auth_private_key => ManageIQ::Providers::CloudManager::AuthKeyPair.count,
:ext_management_system => ExtManagementSystem.count,
:flavor => Flavor.count,
:availability_zone => AvailabilityZone.count,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ def expected_table_counts(disconnect = nil)

def assert_table_counts
actual = {
:auth_private_key => AuthPrivateKey.count,
:auth_private_key => ManageIQ::Providers::CloudManager::AuthKeyPair.count,
:ext_management_system => ExtManagementSystem.count,
:flavor => Flavor.count,
:availability_zone => AvailabilityZone.count,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ def expected_table_counts

def assert_table_counts
actual = {
:auth_private_key => AuthPrivateKey.count,
:auth_private_key => ManageIQ::Providers::CloudManager::AuthKeyPair.count,
:ext_management_system => ExtManagementSystem.count,
:flavor => Flavor.count,
:availability_zone => AvailabilityZone.count,
Expand Down

0 comments on commit ab29f3b

Please sign in to comment.