diff --git a/spec/models/manageiq/providers/amazon/aws_refresher_spec_counts.rb b/spec/models/manageiq/providers/amazon/aws_refresher_spec_counts.rb index 363822fcd..e53009944 100644 --- a/spec/models/manageiq/providers/amazon/aws_refresher_spec_counts.rb +++ b/spec/models/manageiq/providers/amazon/aws_refresher_spec_counts.rb @@ -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, diff --git a/spec/models/manageiq/providers/amazon/cloud_manager/provision_workflow_spec.rb b/spec/models/manageiq/providers/amazon/cloud_manager/provision_workflow_spec.rb index 8209bae4b..53d156d82 100644 --- a/spec/models/manageiq/providers/amazon/cloud_manager/provision_workflow_spec.rb +++ b/spec/models/manageiq/providers/amazon/cloud_manager/provision_workflow_spec.rb @@ -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 diff --git a/spec/models/manageiq/providers/amazon/cloud_manager/stubbed_refresher_spec.rb b/spec/models/manageiq/providers/amazon/cloud_manager/stubbed_refresher_spec.rb index 0d48f33c4..096458b48 100644 --- a/spec/models/manageiq/providers/amazon/cloud_manager/stubbed_refresher_spec.rb +++ b/spec/models/manageiq/providers/amazon/cloud_manager/stubbed_refresher_spec.rb @@ -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, diff --git a/spec/models/manageiq/providers/amazon/network_manager/stubbed_refresher_spec.rb b/spec/models/manageiq/providers/amazon/network_manager/stubbed_refresher_spec.rb index d73de3fc1..a6cbd6ec3 100644 --- a/spec/models/manageiq/providers/amazon/network_manager/stubbed_refresher_spec.rb +++ b/spec/models/manageiq/providers/amazon/network_manager/stubbed_refresher_spec.rb @@ -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, diff --git a/spec/models/manageiq/providers/amazon/storage_manager/ebs/stubbed_refresher_spec.rb b/spec/models/manageiq/providers/amazon/storage_manager/ebs/stubbed_refresher_spec.rb index 2f8598377..87873c9b4 100644 --- a/spec/models/manageiq/providers/amazon/storage_manager/ebs/stubbed_refresher_spec.rb +++ b/spec/models/manageiq/providers/amazon/storage_manager/ebs/stubbed_refresher_spec.rb @@ -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, diff --git a/spec/models/manageiq/providers/amazon/storage_manager/s3/stubbed_refresher_spec.rb b/spec/models/manageiq/providers/amazon/storage_manager/s3/stubbed_refresher_spec.rb index fd580b62b..6ff42be1d 100644 --- a/spec/models/manageiq/providers/amazon/storage_manager/s3/stubbed_refresher_spec.rb +++ b/spec/models/manageiq/providers/amazon/storage_manager/s3/stubbed_refresher_spec.rb @@ -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, diff --git a/spec/tools/refresh_performance/aws_refresh_performance_cloud_manager.rb b/spec/tools/refresh_performance/aws_refresh_performance_cloud_manager.rb index 761855354..3c28915f7 100644 --- a/spec/tools/refresh_performance/aws_refresh_performance_cloud_manager.rb +++ b/spec/tools/refresh_performance/aws_refresh_performance_cloud_manager.rb @@ -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, diff --git a/spec/tools/refresh_performance/aws_refresh_performance_network_manager.rb b/spec/tools/refresh_performance/aws_refresh_performance_network_manager.rb index 339692c4a..6d0fc9277 100644 --- a/spec/tools/refresh_performance/aws_refresh_performance_network_manager.rb +++ b/spec/tools/refresh_performance/aws_refresh_performance_network_manager.rb @@ -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,