summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
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