diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-11-03 17:22:49 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-11-03 17:22:49 +0900 |
commit | 600d5f4fba4f73ef438db651d20da92080e5b3b0 (patch) | |
tree | d03a13eca8f7145a853466a88ccc4d04e138ca96 /spec/javascripts/fixtures | |
parent | 6ebe6792de24528a2052b77018b6c1d17ef5e17b (diff) | |
download | gitlab-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.rb | 2 |
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 |