Remove superfluous specs

Neither `if` nor `ENV` need to be tested by us...
This commit is contained in:
Henne Vogelsang 2022-05-06 14:23:11 +02:00
parent a2a93d422d
commit 200d188af2
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
2 changed files with 0 additions and 46 deletions

View file

@ -68,11 +68,6 @@ describe ApplicationHelper, type: :helper do
expect(nav_root_link_for(nil)).to match 'OSEM'
end
it 'should use the environment variable' do
ENV['OSEM_NAME'] = Faker::Company.name + "'"
expect(nav_root_link_for(nil)).to match h(ENV['OSEM_NAME'])
end
it 'should use the conference organization name' do
expect(nav_root_link_for(conference)).to match h(conference.organization.name)
end