rubocop files update and auto correction
This commit is contained in:
parent
42e8bb11ea
commit
2a30b076b8
88 changed files with 519 additions and 452 deletions
|
|
@ -1,6 +1,5 @@
|
|||
require 'spec_helper'
|
||||
describe 'admin/emails/index' do
|
||||
|
||||
it 'renders email templates' do
|
||||
@conference = create(:conference)
|
||||
assign :conference, @conference
|
||||
|
|
@ -8,25 +7,25 @@ describe 'admin/emails/index' do
|
|||
assign :settings, @settings
|
||||
render
|
||||
expect(rendered).
|
||||
to have_selector("input[type='checkbox'][value='1']", count: 9)
|
||||
to have_selector("input[type='checkbox'][value='1']", count: 9)
|
||||
expect(rendered).
|
||||
to have_selector("input[checked='checked'][type='checkbox'][value='1']", count: 6)
|
||||
to have_selector("input[checked='checked'][type='checkbox'][value='1']", count: 6)
|
||||
expect(rendered).to include('Lorem Ipsum Dolsum')
|
||||
expect(rendered).
|
||||
to include('Lorem ipsum dolor sit amet, consectetuer adipiscing elit')
|
||||
to include('Lorem ipsum dolor sit amet, consectetuer adipiscing elit')
|
||||
expect(rendered).
|
||||
to include('Conference dates have been updated')
|
||||
to include('Conference dates have been updated')
|
||||
expect(rendered).
|
||||
to include('Conference registration dates have been updated')
|
||||
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('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