Commit 5e30f4d54c61f6d9cfee731c8cce4fa1ef58d628
1 parent
ec437ad9
Exists in
spb-stable
and in
3 other branches
Fix dashboard atom feed
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Showing
1 changed file
with
5 additions
and
0 deletions
Show diff stats
spec/features/atom/dashboard_issues_spec.rb
... | ... | @@ -8,6 +8,11 @@ describe "Dashboard Issues Feed" do |
8 | 8 | let!(:issue1) { create(:issue, author: user, assignee: user, project: project1) } |
9 | 9 | let!(:issue2) { create(:issue, author: user, assignee: user, project: project2) } |
10 | 10 | |
11 | + before do | |
12 | + project1.team << [user, :master] | |
13 | + project2.team << [user, :master] | |
14 | + end | |
15 | + | |
11 | 16 | describe "atom feed" do |
12 | 17 | it "should render atom feed via private token" do |
13 | 18 | visit issues_dashboard_path(:atom, private_token: user.private_token) | ... | ... |