Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlessio Caiazza <acaiazza@gitlab.com>2017-12-04 11:12:04 +0300
committerAlessio Caiazza <acaiazza@gitlab.com>2017-12-04 11:12:04 +0300
commitf8b29b06df86d048a64e5afe37e175691da10e9b (patch)
tree39f00359c03953c0daef615a9e1398d153c742c6 /spec/features/projects/clusters
parentdc350a1cffeb7127b2bb8fd304f1a4669e3fbb45 (diff)
Fix static analysis :green_heart:
Diffstat (limited to 'spec/features/projects/clusters')
-rw-r--r--spec/features/projects/clusters/applications_spec.rb2
-rw-r--r--spec/features/projects/clusters/gcp_spec.rb8
2 files changed, 5 insertions, 5 deletions
diff --git a/spec/features/projects/clusters/applications_spec.rb b/spec/features/projects/clusters/applications_spec.rb
index 6104bad0125..b34cd061ec6 100644
--- a/spec/features/projects/clusters/applications_spec.rb
+++ b/spec/features/projects/clusters/applications_spec.rb
@@ -18,7 +18,7 @@ feature 'Clusters Applications', :js do
context 'when cluster is being created' do
let(:cluster) { create(:cluster, :providing_by_gcp, projects: [project])}
-
+
scenario 'user is unable to install applications' do
page.within('.js-cluster-application-row-helm') do
expect(page.find(:css, '.js-cluster-application-install-button')['disabled']).to eq('true')
diff --git a/spec/features/projects/clusters/gcp_spec.rb b/spec/features/projects/clusters/gcp_spec.rb
index df568ebaed2..8a0da669147 100644
--- a/spec/features/projects/clusters/gcp_spec.rb
+++ b/spec/features/projects/clusters/gcp_spec.rb
@@ -89,18 +89,18 @@ feature 'Gcp Cluster', :js do
page.find(:css, '.js-toggle-cluster').click
click_button 'Save'
end
-
+
it 'user sees the successful message' do
expect(page).to have_content('Cluster was successfully updated.')
end
end
-
+
context 'when user changes cluster parameters' do
before do
fill_in 'cluster_platform_kubernetes_attributes_namespace', with: 'my-namespace'
click_button 'Save changes'
end
-
+
it 'user sees the successful message' do
expect(page).to have_content('Cluster was successfully updated.')
expect(cluster.reload.platform_kubernetes.namespace).to eq('my-namespace')
@@ -113,7 +113,7 @@ feature 'Gcp Cluster', :js do
click_link 'Remove integration'
end
end
-
+
it 'user sees creation form with the successful message' do
expect(page).to have_content('Cluster integration was successfully removed.')
expect(page).to have_link('Create on GKE')