apply StringLiterals cop (remove double quotes, unless there is string interpolation)
This commit is contained in:
parent
f91467a00a
commit
b7c45718d8
45 changed files with 275 additions and 109 deletions
|
|
@ -16,11 +16,11 @@ describe 'admin/conference/roles' do
|
|||
expect(rendered).to include("Add role 'Organizer' to user:")
|
||||
expect(rendered).to include('Add role')
|
||||
expect(rendered).to include('Users with role Organizer')
|
||||
expect(rendered).to have_selector("table thead th:nth-of-type(1)", text: 'ID')
|
||||
expect(rendered).to have_selector("table thead th:nth-of-type(2)", text: 'Name')
|
||||
expect(rendered).to have_selector("table thead th:nth-of-type(3)", text: 'Email')
|
||||
expect(rendered).to have_selector("table tbody tr:nth-of-type(1) td:nth-of-type(1)", text: organizer.id)
|
||||
expect(rendered).to have_selector("table tbody tr:nth-of-type(1) td:nth-of-type(2)", text: 'test name')
|
||||
expect(rendered).to have_selector("table tbody tr:nth-of-type(1) td:nth-of-type(3)", text: 'test@email.com')
|
||||
expect(rendered).to have_selector('table thead th:nth-of-type(1)', text: 'ID')
|
||||
expect(rendered).to have_selector('table thead th:nth-of-type(2)', text: 'Name')
|
||||
expect(rendered).to have_selector('table thead th:nth-of-type(3)', text: 'Email')
|
||||
expect(rendered).to have_selector('table tbody tr:nth-of-type(1) td:nth-of-type(1)', text: organizer.id)
|
||||
expect(rendered).to have_selector('table tbody tr:nth-of-type(1) td:nth-of-type(2)', text: 'test name')
|
||||
expect(rendered).to have_selector('table tbody tr:nth-of-type(1) td:nth-of-type(3)', text: 'test@email.com')
|
||||
end
|
||||
end
|
||||
|
|
|
|||
|
|
@ -18,15 +18,15 @@ describe 'admin/emails/index' do
|
|||
to include('Conference dates have been updated')
|
||||
expect(rendered).
|
||||
to include('Conference registration dates have been updated')
|
||||
expect(rendered).to include("Venue has been updated")
|
||||
expect(rendered).to include("Venue has been Updated to Sample Location")
|
||||
expect(rendered).to include('Venue has been updated')
|
||||
expect(rendered).to include('Venue has been Updated to Sample Location')
|
||||
expect(rendered).
|
||||
to include("Call for Papers dates have been updated")
|
||||
to include('Call for Papers dates have been updated')
|
||||
expect(rendered).
|
||||
to include("Please checkout the new updates to submit your proposal for Sample Conference")
|
||||
to include('Please checkout the new updates to submit your proposal for Sample Conference')
|
||||
expect(rendered).
|
||||
to include("Sample Conference Cfp schedule is Public")
|
||||
to include('Sample Conference Cfp schedule is Public')
|
||||
expect(rendered).
|
||||
to include("Call for Papers schedule is Public.Checkout the link")
|
||||
to include('Call for Papers schedule is Public.Checkout the link')
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue