Fixup splashpage spec reflecting logo change
This commit is contained in:
parent
578a3125b7
commit
9668a40248
2 changed files with 2 additions and 3 deletions
|
|
@ -98,7 +98,6 @@ feature Conference do
|
|||
sign_in user
|
||||
visit admin_conference_path(conference.short_title)
|
||||
|
||||
# expect(find('.navbar-brand')).to eq(conference.organization.name)
|
||||
expect(find('.navbar-brand img')['alt']).to have_content conference.organization.name
|
||||
end
|
||||
|
||||
|
|
|
|||
|
|
@ -72,11 +72,11 @@ feature Splashpage do
|
|||
context 'multiple organizations' do
|
||||
let!(:additional_organization) { create(:organization) }
|
||||
|
||||
scenario 'should have organization name', feature: true, js: true do
|
||||
scenario 'should have organization logo', feature: true, js: true do
|
||||
sign_in participant
|
||||
visit conference_path(conference.short_title)
|
||||
|
||||
expect(page).to have_text(conference.organization.name)
|
||||
expect(find('.navbar-brand img')['alt']).to have_content conference.organization.name
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue