Update paths to "noimage" images

This commit is contained in:
Matt-Yorkley
2020-06-29 20:07:08 +02:00
parent 5bec887f93
commit b441ac2644
9 changed files with 10 additions and 10 deletions

View File

@@ -107,7 +107,7 @@ describe 'Products service', ->
$httpBackend.expectGET(endpoint).respond([product])
$httpBackend.flush()
expect(Products.products[0].primaryImage).toBeUndefined()
expect(Products.products[0].primaryImageOrMissing).toEqual "/assets/noimage/small.png"
expect(Products.products[0].primaryImageOrMissing).toEqual "/noimage/small.png"
it "sets largeImage", ->
$httpBackend.expectGET(endpoint).respond([productWithImage])