diff options
Diffstat (limited to 'spec/features/groups/clusters/user_spec.rb')
-rw-r--r-- | spec/features/groups/clusters/user_spec.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/features/groups/clusters/user_spec.rb b/spec/features/groups/clusters/user_spec.rb index 2410cd92e3f..77a5d76ea08 100644 --- a/spec/features/groups/clusters/user_spec.rb +++ b/spec/features/groups/clusters/user_spec.rb @@ -92,7 +92,7 @@ describe 'User Cluster', :js do end it 'user sees the successful message' do - expect(page).to have_content('Kubernetes cluster was successfully updated.') + expect(page).to have_content(_('Kubernetes cluster was successfully updated.')) end end @@ -104,7 +104,7 @@ describe 'User Cluster', :js do end it 'user sees the successful message' do - expect(page).to have_content('Kubernetes cluster was successfully updated.') + expect(page).to have_content(_('Kubernetes cluster was successfully updated.')) expect(cluster.reload.name).to eq('my-dev-cluster') expect(cluster.reload.platform_kubernetes.token).to eq('new-token') end @@ -118,7 +118,7 @@ describe 'User Cluster', :js do end it 'user sees creation form with the successful message' do - expect(page).to have_content('Kubernetes cluster integration was successfully removed.') + expect(page).to have_content(_('Kubernetes cluster integration was successfully removed.')) expect(page).to have_link('Add Kubernetes cluster') end end |