mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Adapt the spec
This commit is contained in:
parent
86896cc46b
commit
8fc57e34c9
7 changed files with 16 additions and 12 deletions
|
|
@ -11,7 +11,7 @@ describe SponsorsHelper, type: :helper do
|
|||
end
|
||||
|
||||
it 'returns correct url' do
|
||||
expect(get_logo(sponsor)).to match %r{.*(\bfirst/rails.jpg\b)}
|
||||
expect(get_logo(sponsor)).to match %r{.*(\bfirst/rails.png\b)}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -22,7 +22,7 @@ describe SponsorsHelper, type: :helper do
|
|||
end
|
||||
|
||||
it 'returns correct url' do
|
||||
expect(get_logo(sponsor)).to match %r{.*(\bsecond/rails.jpg\b)}
|
||||
expect(get_logo(sponsor)).to match %r{.*(\bsecond/rails.png\b)}
|
||||
end
|
||||
end
|
||||
|
||||
|
|
@ -33,7 +33,7 @@ describe SponsorsHelper, type: :helper do
|
|||
end
|
||||
|
||||
it 'returns correct url' do
|
||||
expect(get_logo(sponsor)).to match %r{.*(\bothers/rails.jpg\b)}
|
||||
expect(get_logo(sponsor)).to match %r{.*(\bothers/rails.png\b)}
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue