Fix logo test

This commit is contained in:
Guillaume Lazzara 2016-03-02 10:31:43 +01:00
parent 7a82c4b25f
commit d0a4cfdcf5

View file

@ -33,7 +33,7 @@ describe 'users/dossiers/new.html.haml', type: :view do
describe 'logo procedure' do
context 'procedure have no logo' do
it 'TPS logo is present' do
is_expected.to have_css("img[src='/assets#{asset_path('logo-tps.png')}']")
is_expected.to match(/src="\/assets\/logo-tps-.*\.png"/)
end
end