diff options
author | DJ Mountney <david@twkie.net> | 2016-06-02 02:44:35 +0300 |
---|---|---|
committer | DJ Mountney <david@twkie.net> | 2016-06-02 22:20:27 +0300 |
commit | b173ea2bd4bbc65529b827f9afa5999f6f04579e (patch) | |
tree | bdebc63c33170f59d5f3e669cbf5d01584b02dd1 /spec/features | |
parent | 4280575fc0888632196cf4483dcd777618c13390 (diff) |
Use the project finder in the todos finder to limit todos to just ones within projects you have access to.
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/todos/todos_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/features/todos/todos_spec.rb b/spec/features/todos/todos_spec.rb index c8c86a3ff47..c0a1cd64f32 100644 --- a/spec/features/todos/todos_spec.rb +++ b/spec/features/todos/todos_spec.rb @@ -3,7 +3,7 @@ require 'spec_helper' describe 'Dashboard Todos', feature: true do let(:user) { create(:user) } let(:author) { create(:user) } - let(:project) { create(:project) } + let(:project) { create(:project, visibility_level: Gitlab::VisibilityLevel::PUBLIC) } let(:issue) { create(:issue) } describe 'GET /dashboard/todos' do |