diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-02-10 19:32:36 +0400 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2014-02-10 19:32:36 +0400 |
commit | 5e30f4d54c61f6d9cfee731c8cce4fa1ef58d628 (patch) | |
tree | 965a3340861e810c407d7820ea509283abb4dc70 /spec | |
parent | ec437ad999858db18627174ff1cf9f272e4ddefb (diff) |
Fix dashboard atom feed
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/atom/dashboard_issues_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/spec/features/atom/dashboard_issues_spec.rb b/spec/features/atom/dashboard_issues_spec.rb index 6f5d51d16b6..62f44690349 100644 --- a/spec/features/atom/dashboard_issues_spec.rb +++ b/spec/features/atom/dashboard_issues_spec.rb @@ -8,6 +8,11 @@ describe "Dashboard Issues Feed" do let!(:issue1) { create(:issue, author: user, assignee: user, project: project1) } let!(:issue2) { create(:issue, author: user, assignee: user, project: project2) } + before do + project1.team << [user, :master] + project2.team << [user, :master] + end + describe "atom feed" do it "should render atom feed via private token" do visit issues_dashboard_path(:atom, private_token: user.private_token) |