diff --git a/spec/controllers/container_build_controller_spec.rb b/spec/controllers/container_build_controller_spec.rb index 85366cfa530..8adb65f3a03 100644 --- a/spec/controllers/container_build_controller_spec.rb +++ b/spec/controllers/container_build_controller_spec.rb @@ -18,7 +18,7 @@ expect(response.status).to eq(200) expect(response.body).to_not be_empty expect(response).to render_template('shared/summary/_textual_multilabel') - expect(assigns(:breadcrumbs)).to eq([{:name => "Builds", + expect(assigns(:breadcrumbs)).to eq([{:name => "Container Builds", :url => "/container_build/show_list?page=&refresh=y"}, {:name => "Test Build (Summary)", :url => "/container_build/show/#{container_build.id}"}]) diff --git a/spec/controllers/container_group_controller_spec.rb b/spec/controllers/container_group_controller_spec.rb index 5d75bf68e28..4df216421a0 100644 --- a/spec/controllers/container_group_controller_spec.rb +++ b/spec/controllers/container_group_controller_spec.rb @@ -20,7 +20,7 @@ get :show, :params => { :id => container_group.id } expect(response.status).to eq(200) expect(response.body).to_not be_empty - expect(assigns(:breadcrumbs)).to eq([{:name => "Pods", + expect(assigns(:breadcrumbs)).to eq([{:name => "Container Pods", :url => "/container_group/show_list?page=&refresh=y"}, {:name => "Test Group (Summary)", :url => "/container_group/show/#{container_group.id}"}]) diff --git a/spec/controllers/container_image_registry_controller_spec.rb b/spec/controllers/container_image_registry_controller_spec.rb index 21291316e56..7875b6a8cd5 100644 --- a/spec/controllers/container_image_registry_controller_spec.rb +++ b/spec/controllers/container_image_registry_controller_spec.rb @@ -18,7 +18,7 @@ get :show, :params => { :id => container_image_registry.id } expect(response.status).to eq(200) expect(response.body).to_not be_empty - expect(assigns(:breadcrumbs)).to eq([{:name => "Image Registries", + expect(assigns(:breadcrumbs)).to eq([{:name => "Container Image Registries", :url => "/container_image_registry/show_list?page=&refresh=y"}, {:name => "Test Image Registry (Summary)", :url => "/container_image_registry/show/#{container_image_registry.id}"}]) diff --git a/spec/controllers/container_node_controller_spec.rb b/spec/controllers/container_node_controller_spec.rb index 28429b1ffd6..4bb429aab7c 100644 --- a/spec/controllers/container_node_controller_spec.rb +++ b/spec/controllers/container_node_controller_spec.rb @@ -18,7 +18,7 @@ get :show, :params => { :id => container_node.id } expect(response.status).to eq(200) expect(response.body).to_not be_empty - expect(assigns(:breadcrumbs)).to eq([{:name => "Nodes", + expect(assigns(:breadcrumbs)).to eq([{:name => "Container Nodes", :url => "/container_node/show_list?page=&refresh=y"}, {:name => "Test Node (Summary)", :url => "/container_node/show/#{container_node.id}"}]) diff --git a/spec/controllers/container_project_controller_spec.rb b/spec/controllers/container_project_controller_spec.rb index 452aa5e3f45..1b49cf4de7f 100644 --- a/spec/controllers/container_project_controller_spec.rb +++ b/spec/controllers/container_project_controller_spec.rb @@ -17,7 +17,7 @@ get :show, :params => { :id => container_project.id, :display => 'main' } expect(response.status).to eq(200) expect(response.body).to_not be_empty - expect(assigns(:breadcrumbs)).to eq([{:name => "Projects", + expect(assigns(:breadcrumbs)).to eq([{:name => "Container Projects", :url => "/container_project/show_list?page=&refresh=y"}, {:name => "Test Project (Summary)", :url => "/container_project/show/#{container_project.id}"}]) diff --git a/spec/controllers/container_replicator_controller_spec.rb b/spec/controllers/container_replicator_controller_spec.rb index 44d2eaa43fb..939de483db8 100644 --- a/spec/controllers/container_replicator_controller_spec.rb +++ b/spec/controllers/container_replicator_controller_spec.rb @@ -21,7 +21,7 @@ get :show, :params => { :id => container_replicator.id } expect(response.status).to eq(200) expect(response.body).to_not be_empty - expect(assigns(:breadcrumbs)).to eq([{:name => "Replicators", + expect(assigns(:breadcrumbs)).to eq([{:name => "Container Replicators", :url => "/container_replicator/show_list?page=&refresh=y"}, {:name => "Test Replicator (Summary)", :url => "/container_replicator/show/#{container_replicator.id}"}]) diff --git a/spec/controllers/container_route_controller_spec.rb b/spec/controllers/container_route_controller_spec.rb index 2241b929b93..61281d984f8 100644 --- a/spec/controllers/container_route_controller_spec.rb +++ b/spec/controllers/container_route_controller_spec.rb @@ -17,7 +17,7 @@ get :show, :params => { :id => container_route.id } expect(response.status).to eq(200) expect(response.body).to_not be_empty - expect(assigns(:breadcrumbs)).to eq([{:name => "Routes", + expect(assigns(:breadcrumbs)).to eq([{:name => "Container Routes", :url => "/container_route/show_list?page=&refresh=y"}, {:name => "Test Route (Summary)", :url => "/container_route/show/#{container_route.id}"}]) diff --git a/spec/controllers/miq_report_controller/reports/editor_spec.rb b/spec/controllers/miq_report_controller/reports/editor_spec.rb index 1100ebd7bdc..698ecad9aad 100644 --- a/spec/controllers/miq_report_controller/reports/editor_spec.rb +++ b/spec/controllers/miq_report_controller/reports/editor_spec.rb @@ -259,7 +259,7 @@ def empty_category(attrs = {}) rpt = FactoryGirl.create(:miq_report_chargeback) controller.send(:valid_report?, rpt) flash_messages = assigns(:flash_array) - flash_str = 'A specific Project or all must be selected' + flash_str = 'A specific Container Project or all must be selected' expect(flash_messages.first[:message]).to eq(flash_str) expect(flash_messages.first[:level]).to eq(:error) end