summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2017-10-05 21:33:29 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2017-10-05 21:33:29 +0200
commit4cda11585c75ce923d357b0dbb91fb393ed8e303 (patch)
treef67a5375db33a4dc8d774732ae9514b540b4fb95 /spec
parent6712762b9d6e0391b1a38ca17cc3d982a336bbf9 (diff)
downloadgitlab-ce-4cda11585c75ce923d357b0dbb91fb393ed8e303.tar.gz
Fix almost all unresolved comments from Docs and UX review
Diffstat (limited to 'spec')
-rw-r--r--spec/controllers/projects/clusters_controller_spec.rb2
-rw-r--r--spec/features/projects/clusters_spec.rb4
2 files changed, 3 insertions, 3 deletions
diff --git a/spec/controllers/projects/clusters_controller_spec.rb b/spec/controllers/projects/clusters_controller_spec.rb
index 604b92caca6..b34702370e8 100644
--- a/spec/controllers/projects/clusters_controller_spec.rb
+++ b/spec/controllers/projects/clusters_controller_spec.rb
@@ -282,7 +282,7 @@ describe Projects::ClustersController do
subject
expect(response).to redirect_to(project_clusters_path(project))
- expect(flash[:notice]).to eq('Cluster was successfully removed.')
+ expect(flash[:notice]).to eq('Cluster integration was successfully removed.')
end
end
diff --git a/spec/features/projects/clusters_spec.rb b/spec/features/projects/clusters_spec.rb
index b836427513d..7f33629c938 100644
--- a/spec/features/projects/clusters_spec.rb
+++ b/spec/features/projects/clusters_spec.rb
@@ -46,7 +46,7 @@ feature 'Clusters', :js do
Gcp::Cluster.last.make_created!
- expect(page).to have_content('Cluster was successfully created on Google Container Engine.')
+ expect(page).to have_content('Cluster was successfully created on Google Container Engine')
end
end
@@ -92,7 +92,7 @@ feature 'Clusters', :js do
end
it 'user sees creation form with the succeccful message' do
- expect(page).to have_content('Cluster was successfully removed.')
+ expect(page).to have_content('Cluster integration was successfully removed.')
expect(page).to have_button('Create cluster')
end
end