mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-22 00:57:26 +00:00
Merge branch 'master' into prevent-blank-open-street-map
This commit is contained in:
@@ -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])
|
||||
|
||||
Reference in New Issue
Block a user