summaryrefslogtreecommitdiff
path: root/spec/models
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-09-13 15:04:47 +0000
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2018-09-13 19:47:56 +0300
commit4c9e53a490d6630c911daf4b52096a4d0137ca95 (patch)
tree95d4420662d888eef0bb0dc404eb4158070d5d85 /spec/models
parent733cae702222771a734db5b3b5ab8fe3e2eb7538 (diff)
downloadgitlab-ce-4c9e53a490d6630c911daf4b52096a4d0137ca95.tar.gz
Revert "Merge branch 'dz-add-project-id-to-jupyter' into 'master'"
This reverts merge request !21341
Diffstat (limited to 'spec/models')
-rw-r--r--spec/models/clusters/applications/jupyter_spec.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/spec/models/clusters/applications/jupyter_spec.rb b/spec/models/clusters/applications/jupyter_spec.rb
index 20e782113ff..591a01d78a9 100644
--- a/spec/models/clusters/applications/jupyter_spec.rb
+++ b/spec/models/clusters/applications/jupyter_spec.rb
@@ -108,17 +108,8 @@ describe Clusters::Applications::Jupyter do
expect(values).to include('rbac')
expect(values).to include('proxy')
expect(values).to include('auth')
- expect(values).to include('singleuser')
expect(values).to match(/clientId: '?#{application.oauth_application.uid}/)
expect(values).to match(/callbackUrl: '?#{application.callback_url}/)
end
-
- context 'when cluster belongs to a project' do
- let(:project) { application.cluster.first_project }
-
- it 'sets GitLab project id' do
- expect(values).to match(/GITLAB_PROJECT_ID: '?#{project.id}/)
- end
- end
end
end