rubocop fixed
This commit is contained in:
parent
4307fa9538
commit
4ce418002d
1 changed files with 2 additions and 2 deletions
|
|
@ -10,14 +10,14 @@ feature Commercial do
|
||||||
let!(:participant) { create(:user) }
|
let!(:participant) { create(:user) }
|
||||||
|
|
||||||
context 'in admin area' do
|
context 'in admin area' do
|
||||||
|
|
||||||
before do
|
before do
|
||||||
sign_in organizer
|
sign_in organizer
|
||||||
visit admin_conference_commercials_path(conference.short_title)
|
visit admin_conference_commercials_path(conference.short_title)
|
||||||
end
|
end
|
||||||
|
|
||||||
scenario 'contains the conference name in the title', feature: true, js: true do
|
scenario 'contains the conference name in the title', feature: true, js: true do
|
||||||
header = conference.title + " Materials"
|
header = conference.title + ' Materials'
|
||||||
expect(page).to have_content(header)
|
expect(page).to have_content(header)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue