summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-02-10 17:32:36 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2014-02-10 17:32:36 +0200
commit5e30f4d54c61f6d9cfee731c8cce4fa1ef58d628 (patch)
tree965a3340861e810c407d7820ea509283abb4dc70 /spec/features
parentec437ad999858db18627174ff1cf9f272e4ddefb (diff)
downloadgitlab-ce-5e30f4d54c61f6d9cfee731c8cce4fa1ef58d628.tar.gz
Fix dashboard atom feed
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/atom/dashboard_issues_spec.rb5
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)