summaryrefslogtreecommitdiff
path: root/spec/javascripts/fixtures
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-11-03 17:22:49 +0900
committerShinya Maeda <shinya@gitlab.com>2017-11-03 17:22:49 +0900
commit600d5f4fba4f73ef438db651d20da92080e5b3b0 (patch)
treed03a13eca8f7145a853466a88ccc4d04e138ca96 /spec/javascripts/fixtures
parent6ebe6792de24528a2052b77018b6c1d17ef5e17b (diff)
downloadgitlab-ce-600d5f4fba4f73ef438db651d20da92080e5b3b0.tar.gz
Fix tests. Remove NOT NULL constraint from cluster.user.
Diffstat (limited to 'spec/javascripts/fixtures')
-rw-r--r--spec/javascripts/fixtures/clusters.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/javascripts/fixtures/clusters.rb b/spec/javascripts/fixtures/clusters.rb
index 5774f36f026..8e74c4f859c 100644
--- a/spec/javascripts/fixtures/clusters.rb
+++ b/spec/javascripts/fixtures/clusters.rb
@@ -6,7 +6,7 @@ describe Projects::ClustersController, '(JavaScript fixtures)', type: :controlle
let(:admin) { create(:admin) }
let(:namespace) { create(:namespace, name: 'frontend-fixtures' )}
let(:project) { create(:project, :repository, namespace: namespace) }
- let(:cluster) { project.create_cluster!(gcp_cluster_name: "gke-test-creation-1", gcp_project_id: 'gitlab-internal-153318', gcp_cluster_zone: 'us-central1-a', gcp_cluster_size: '1', project_namespace: 'aaa', gcp_machine_type: 'n1-standard-1')}
+ let(:cluster) { create(:cluster, :provided_by_gcp, projects: [project]) }
render_views