From 46a595ca32851595c4173d9efc4422a3a5306499 Mon Sep 17 00:00:00 2001 From: Marcel Hild Date: Wed, 12 Oct 2016 21:15:55 +0200 Subject: [PATCH 1/2] no need to run controller specs for one they were running the specs for amazon and also they only should run if you have models of that kind --- spec/controllers/cloud_network_controller_spec.rb | 5 ----- spec/controllers/cloud_subnet_controller_spec.rb | 5 ----- spec/controllers/ems_network_controller_spec.rb | 5 ----- spec/controllers/floating_ip_controller_spec.rb | 5 ----- spec/controllers/load_balancer_controller_spec.rb | 5 ----- spec/controllers/network_port_controller_spec.rb | 5 ----- spec/controllers/network_router_controller_spec.rb | 5 ----- spec/controllers/security_group_controller_spec.rb | 5 ----- 8 files changed, 40 deletions(-) delete mode 100644 spec/controllers/cloud_network_controller_spec.rb delete mode 100644 spec/controllers/cloud_subnet_controller_spec.rb delete mode 100644 spec/controllers/ems_network_controller_spec.rb delete mode 100644 spec/controllers/floating_ip_controller_spec.rb delete mode 100644 spec/controllers/load_balancer_controller_spec.rb delete mode 100644 spec/controllers/network_port_controller_spec.rb delete mode 100644 spec/controllers/network_router_controller_spec.rb delete mode 100644 spec/controllers/security_group_controller_spec.rb diff --git a/spec/controllers/cloud_network_controller_spec.rb b/spec/controllers/cloud_network_controller_spec.rb deleted file mode 100644 index 1dcfc3d6a3..0000000000 --- a/spec/controllers/cloud_network_controller_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require Rails.root.join('spec/shared/controllers/shared_examples_for_cloud_network_controller') - -describe CloudNetworkController do - include_examples :shared_examples_for_cloud_network_controller, %w(amazon) -end diff --git a/spec/controllers/cloud_subnet_controller_spec.rb b/spec/controllers/cloud_subnet_controller_spec.rb deleted file mode 100644 index 746bc0951c..0000000000 --- a/spec/controllers/cloud_subnet_controller_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require Rails.root.join('spec/shared/controllers/shared_examples_for_cloud_subnet_controller') - -describe CloudSubnetController do - include_examples :shared_examples_for_cloud_subnet_controller, %w(amazon) -end diff --git a/spec/controllers/ems_network_controller_spec.rb b/spec/controllers/ems_network_controller_spec.rb deleted file mode 100644 index 55468db10a..0000000000 --- a/spec/controllers/ems_network_controller_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require Rails.root.join('spec/shared/controllers/shared_examples_for_ems_network_controller') - -describe EmsNetworkController do - include_examples :shared_examples_for_ems_network_controller, %w(amazon) -end diff --git a/spec/controllers/floating_ip_controller_spec.rb b/spec/controllers/floating_ip_controller_spec.rb deleted file mode 100644 index 4f65a3abbf..0000000000 --- a/spec/controllers/floating_ip_controller_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require Rails.root.join('spec/shared/controllers/shared_examples_for_floating_ip_controller') - -describe FloatingIpController do - include_examples :shared_examples_for_floating_ip_controller, %w(amazon) -end diff --git a/spec/controllers/load_balancer_controller_spec.rb b/spec/controllers/load_balancer_controller_spec.rb deleted file mode 100644 index 9bb4f4b9f8..0000000000 --- a/spec/controllers/load_balancer_controller_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require Rails.root.join('spec/shared/controllers/shared_examples_for_load_balancer_controller') - -describe LoadBalancerController do - include_examples :shared_examples_for_load_balancer_controller, %w(amazon) -end diff --git a/spec/controllers/network_port_controller_spec.rb b/spec/controllers/network_port_controller_spec.rb deleted file mode 100644 index af92746b4c..0000000000 --- a/spec/controllers/network_port_controller_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require Rails.root.join('spec/shared/controllers/shared_examples_for_network_port_controller') - -describe NetworkPortController do - include_examples :shared_examples_for_network_port_controller, %w(amazon) -end diff --git a/spec/controllers/network_router_controller_spec.rb b/spec/controllers/network_router_controller_spec.rb deleted file mode 100644 index f5728f0fef..0000000000 --- a/spec/controllers/network_router_controller_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require Rails.root.join('spec/shared/controllers/shared_examples_for_network_router_controller') - -describe NetworkRouterController do - include_examples :shared_examples_for_network_router_controller, %w(amazon) -end diff --git a/spec/controllers/security_group_controller_spec.rb b/spec/controllers/security_group_controller_spec.rb deleted file mode 100644 index 58d9b83045..0000000000 --- a/spec/controllers/security_group_controller_spec.rb +++ /dev/null @@ -1,5 +0,0 @@ -require Rails.root.join('spec/shared/controllers/shared_examples_for_security_group_controller') - -describe SecurityGroupController do - include_examples :shared_examples_for_security_group_controller, %w(amazon) -end From 9b8a44ef942dff4a48bc49cf72e30d3f5d737138 Mon Sep 17 00:00:00 2001 From: Marcel Hild Date: Wed, 12 Oct 2016 21:17:02 +0200 Subject: [PATCH 2/2] change amazon in comment --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 0b8fe993ba..f9cf21589d 100644 --- a/Gemfile +++ b/Gemfile @@ -1,4 +1,4 @@ -# Declare your gem's dependencies in manageiq-providers-amazon.gemspec. +# Declare your gem's dependencies in manageiq-providers-lenovo.gemspec. # Bundler will treat runtime dependencies like base dependencies, and # development dependencies will be added by default to the :development group. gemspec