Fixup splashpage spec reflecting logo change

This commit is contained in:
Michael Ball 2021-02-23 21:51:11 -08:00
parent 578a3125b7
commit 9668a40248
2 changed files with 2 additions and 3 deletions

View file

@ -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