From 5484bb0086b4e61bc9099879225f4ad1f8fae3e5 Mon Sep 17 00:00:00 2001 From: Devin Sylva Date: Fri, 26 Apr 2019 09:18:04 -1000 Subject: Adjusted tests to match fixes --- spec/features/atom/issues_spec.rb | 18 +++++++++--------- 1 file 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 -- cgit v1.2.1