summaryrefslogtreecommitdiff
path: root/spec/features/atom/issues_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/features/atom/issues_spec.rb')
-rw-r--r--spec/features/atom/issues_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/features/atom/issues_spec.rb b/spec/features/atom/issues_spec.rb
index 6caaa703ae0..a01a050a013 100644
--- a/spec/features/atom/issues_spec.rb
+++ b/spec/features/atom/issues_spec.rb
@@ -17,8 +17,8 @@ describe 'Issues Feed', feature: true do
login_with user
visit namespace_project_issues_path(project.namespace, project, :atom)
- expect(response_headers['Content-Type'])
- .to have_content('application/atom+xml')
+ expect(response_headers['Content-Type']).
+ to have_content('application/atom+xml')
expect(body).to have_selector('title', text: "#{project.name} issues")
expect(body).to have_selector('author email', text: issue.author_email)
expect(body).to have_selector('entry summary', text: issue.title)
@@ -30,8 +30,8 @@ describe 'Issues Feed', feature: true do
visit namespace_project_issues_path(project.namespace, project, :atom,
private_token: user.private_token)
- expect(response_headers['Content-Type'])
- .to have_content('application/atom+xml')
+ expect(response_headers['Content-Type']).
+ to have_content('application/atom+xml')
expect(body).to have_selector('title', text: "#{project.name} issues")
expect(body).to have_selector('author email', text: issue.author_email)
expect(body).to have_selector('entry summary', text: issue.title)