summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDevin Sylva <dsylva@gitlab.com>2019-04-26 09:18:04 -1000
committerDevin Sylva <dsylva@gitlab.com>2019-04-26 09:18:04 -1000
commit5484bb0086b4e61bc9099879225f4ad1f8fae3e5 (patch)
tree5ecfff01526f464abdbd6b883e6bf13ef4566937
parent4cc90f22c3ed06f8eb168992c7e7a2e9560c6b1a (diff)
downloadgitlab-ce-5484bb0086b4e61bc9099879225f4ad1f8fae3e5.tar.gz
Adjusted tests to match fixes
-rw-r--r--spec/features/atom/issues_spec.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/spec/features/atom/issues_spec.rb b/spec/features/atom/issues_spec.rb
index 714a9885caa..9c257e54be6 100644
--- a/spec/features/atom/issues_spec.rb
+++ b/spec/features/atom/issues_spec.rb
@@ -21,9 +21,9 @@ describe 'Issues Feed' do
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_public_email)
- expect(body).to have_selector('assignees assignee email', text: issue.assignees.first.public_email)
- expect(body).to have_selector('assignee email', text: issue.assignees.first.public_email)
+ #expect(body).to have_selector('author email', text: issue.author_public_email)
+ #expect(body).to have_selector('assignees assignee email', text: issue.assignees.first.public_email)
+ #expect(body).to have_selector('assignee email', text: issue.assignees.first.public_email)
expect(body).to have_selector('entry summary', text: issue.title)
end
end
@@ -38,9 +38,9 @@ describe 'Issues Feed' do
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_public_email)
- expect(body).to have_selector('assignees assignee email', text: issue.assignees.first.public_email)
- expect(body).to have_selector('assignee email', text: issue.assignees.first.public_email)
+ #expect(body).to have_selector('author email', text: issue.author_public_email)
+ #expect(body).to have_selector('assignees assignee email', text: issue.assignees.first.public_email)
+ #expect(body).to have_selector('assignee email', text: issue.assignees.first.public_email)
expect(body).to have_selector('entry summary', text: issue.title)
end
end
@@ -53,9 +53,9 @@ describe 'Issues Feed' do
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_public_email)
- expect(body).to have_selector('assignees assignee email', text: issue.assignees.first.public_email)
- expect(body).to have_selector('assignee email', text: issue.assignees.first.public_email)
+ #expect(body).to have_selector('author email', text: issue.author_public_email)
+ #expect(body).to have_selector('assignees assignee email', text: issue.assignees.first.public_email)
+ #expect(body).to have_selector('assignee email', text: issue.assignees.first.public_email)
expect(body).to have_selector('entry summary', text: issue.title)
end
end