diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-03-06 14:49:31 -0600 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-03-06 14:49:59 -0600 |
commit | 1565d7f6e602258c587bfa0e5606f671b14b7e3c (patch) | |
tree | 136c512f222d8d9e12c430f36182b82cbf029c46 /spec | |
parent | b70d151db99d6d64f3514006c4fa6c8142e1b785 (diff) | |
download | gitlab-ce-1565d7f6e602258c587bfa0e5606f671b14b7e3c.tar.gz |
Remove readme-only project view preferenceremove-readme-option
Diffstat (limited to 'spec')
-rw-r--r-- | spec/controllers/projects_controller_spec.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/controllers/projects_controller_spec.rb b/spec/controllers/projects_controller_spec.rb index 202759664a0..a1ec41322ad 100644 --- a/spec/controllers/projects_controller_spec.rb +++ b/spec/controllers/projects_controller_spec.rb @@ -158,14 +158,6 @@ describe ProjectsController do expect(response).to render_template('_activity') end - it "renders the readme view" do - allow(controller).to receive(:current_user).and_return(user) - allow(user).to receive(:project_view).and_return('readme') - - get :show, namespace_id: public_project.namespace, id: public_project - expect(response).to render_template('_readme') - end - it "renders the files view" do allow(controller).to receive(:current_user).and_return(user) allow(user).to receive(:project_view).and_return('files') |