Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Johnson <bryce@gitlab.com>2017-05-12 05:40:56 +0300
committerBryce Johnson <bryce@gitlab.com>2017-05-12 05:40:56 +0300
commit80ec3f2715f121d3be41e4ce3b5bffc107322925 (patch)
tree76a1b3616602e86d63f3cf6604cfb9fa88b4292a /spec/features/issues_spec.rb
parentbc916754fb6a30cdd09f7f2ec7fc74785c339150 (diff)
Ensure issues are enabled on the project.
Diffstat (limited to 'spec/features/issues_spec.rb')
-rw-r--r--spec/features/issues_spec.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/features/issues_spec.rb b/spec/features/issues_spec.rb
index 5285dda361b..fdd78600a1d 100644
--- a/spec/features/issues_spec.rb
+++ b/spec/features/issues_spec.rb
@@ -573,6 +573,8 @@ describe 'Issues', feature: true do
end
describe 'new issue' do
+ let!(:issue) { create(:issue, project: project) }
+
context 'by unauthenticated user' do
before do
logout