diff options
author | Stan Hu <stanhu@gmail.com> | 2018-10-12 17:54:08 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-10-12 22:18:51 -0700 |
commit | 656831e1734f037541349c3bded5514559cf20d1 (patch) | |
tree | 6eb81e6e5c53306cae673ac3974cc402d826e926 /spec/presenters | |
parent | a5ecb5bbdac05c3b1a96ecb918ce6a4ceed37d75 (diff) | |
download | gitlab-ce-656831e1734f037541349c3bded5514559cf20d1.tar.gz |
Remove Koding integration and documentation
This integration no longer works and does not appear to be supported.
Closes https://gitlab.com/gitlab-org/gitlab-ce/issues/39697
Diffstat (limited to 'spec/presenters')
-rw-r--r-- | spec/presenters/project_presenter_spec.rb | 31 |
1 files changed, 0 insertions, 31 deletions
diff --git a/spec/presenters/project_presenter_spec.rb b/spec/presenters/project_presenter_spec.rb index 96193784072..3eb2f149311 100644 --- a/spec/presenters/project_presenter_spec.rb +++ b/spec/presenters/project_presenter_spec.rb @@ -410,36 +410,5 @@ describe ProjectPresenter do end end end - - describe '#koding_anchor_data' do - it 'returns link to set up Koding if user can push and no koding YML exists' do - project.add_developer(user) - allow(project.repository).to receive(:koding_yml).and_return(nil) - allow(Gitlab::CurrentSettings).to receive(:koding_enabled?).and_return(true) - - expect(presenter.koding_anchor_data).to have_attributes(enabled: false, - label: 'Set up Koding', - link: presenter.add_koding_stack_path) - end - - it 'returns nil if user cannot push' do - expect(presenter.koding_anchor_data).to be_nil - end - - it 'returns nil if koding is not enabled' do - project.add_developer(user) - allow(Gitlab::CurrentSettings).to receive(:koding_enabled?).and_return(false) - - expect(presenter.koding_anchor_data).to be_nil - end - - it 'returns nil if koding YML already exists' do - project.add_developer(user) - allow(project.repository).to receive(:koding_yml).and_return(double) - allow(Gitlab::CurrentSettings).to receive(:koding_enabled?).and_return(true) - - expect(presenter.koding_anchor_data).to be_nil - end - end end end |