diff options
Diffstat (limited to 'spec/features/atom/dashboard_issues_spec.rb')
-rw-r--r-- | spec/features/atom/dashboard_issues_spec.rb | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/spec/features/atom/dashboard_issues_spec.rb b/spec/features/atom/dashboard_issues_spec.rb index 9fd2933b2cc..187f2ffcffd 100644 --- a/spec/features/atom/dashboard_issues_spec.rb +++ b/spec/features/atom/dashboard_issues_spec.rb @@ -17,12 +17,12 @@ describe "Dashboard Issues Feed", feature: true do it "should render atom feed via private token" do visit issues_dashboard_path(:atom, private_token: user.private_token) - page.response_headers['Content-Type'].should have_content("application/atom+xml") - page.body.should have_selector("title", text: "#{user.name} issues") - page.body.should have_selector("author email", text: issue1.author_email) - page.body.should have_selector("entry summary", text: issue1.title) - page.body.should have_selector("author email", text: issue2.author_email) - page.body.should have_selector("entry summary", text: issue2.title) + response_headers['Content-Type'].should have_content("application/atom+xml") + body.should have_selector("title", text: "#{user.name} issues") + body.should have_selector("author email", text: issue1.author_email) + body.should have_selector("entry summary", text: issue1.title) + body.should have_selector("author email", text: issue2.author_email) + body.should have_selector("entry summary", text: issue2.title) end end end |