diff options
author | Chantal Rollison <crollison@gitlab.com> | 2018-09-11 03:37:21 +0300 |
---|---|---|
committer | Chantal Rollison <crollison@gitlab.com> | 2018-09-13 18:08:53 +0300 |
commit | e580c2261d12b4542eafba6b5db3b3656d57ed63 (patch) | |
tree | a175ed72fc13c64886952424e084f9b32742fcb0 /spec/features/dashboard | |
parent | c7d1eef671dbf598814a6c2ff1f81b924583ae8a (diff) |
Filter group milestones based on user membership
Diffstat (limited to 'spec/features/dashboard')
-rw-r--r-- | spec/features/dashboard/milestones_spec.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/features/dashboard/milestones_spec.rb b/spec/features/dashboard/milestones_spec.rb index d9d67788b38..8fb2e37e269 100644 --- a/spec/features/dashboard/milestones_spec.rb +++ b/spec/features/dashboard/milestones_spec.rb @@ -17,8 +17,9 @@ describe 'Dashboard > Milestones' do let(:project) { create(:project, namespace: user.namespace) } let!(:milestone) { create(:milestone, project: project) } let!(:milestone2) { create(:milestone, group: group) } + before do - project.add_maintainer(user) + group.add_developer(user) sign_in(user) visit dashboard_milestones_path end |