diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2017-03-16 14:46:12 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2017-03-16 14:46:12 +0800 |
commit | 08d3a40c3191add17ce3546f70fda449d367d3cb (patch) | |
tree | 1ce2ea3b6769a9135b82dfc4ee55d99e5aa32809 | |
parent | 668a5b9fe1712ba082e4b0ba6d6bf54bc5691a49 (diff) | |
download | gitlab-ce-08d3a40c3191add17ce3546f70fda449d367d3cb.tar.gz |
Expect @issuable_meta_data to be set, feedback:fix-project-without-repo-and-wiki
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9956#note_25445832
-rw-r--r-- | spec/controllers/projects_controller_spec.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/controllers/projects_controller_spec.rb b/spec/controllers/projects_controller_spec.rb index a52d61b2357..a88ffc1ea6a 100644 --- a/spec/controllers/projects_controller_spec.rb +++ b/spec/controllers/projects_controller_spec.rb @@ -83,6 +83,7 @@ describe ProjectsController do get :show, namespace_id: project.namespace, id: project expect(response).to render_template('projects/issues/_issues') + expect(assigns(:issuable_meta_data)).not_to be_nil end it 'shows customize workflow page if wiki and issues are disabled' do |