Fix spec incorrectly testing for conference org names
This commit is contained in:
parent
0d4823db38
commit
38c10d326d
1 changed files with 2 additions and 2 deletions
|
|
@ -75,7 +75,7 @@ describe ApplicationHelper, type: :helper do
|
|||
|
||||
# TODO-SNAPCON: This is an indicator in a conference it should be the conference name.
|
||||
it 'should use the conference organization name' do
|
||||
expect(nav_root_link_for(nil)).to include image_tag('snapcon_logo.png', alt: conference.organization.name)
|
||||
expect(nav_root_link_for(conference)).to include image_tag('snapcon_logo.png', alt: conference.organization.name)
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -91,7 +91,7 @@ describe ApplicationHelper, type: :helper do
|
|||
end
|
||||
|
||||
it 'should use the conference organization name' do
|
||||
expect(nav_link_text(nil)).to match conference.organization.name
|
||||
expect(nav_link_text(conference)).to match conference.organization.name
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue