fix unit tests

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
This commit is contained in:
Morris Jobke 2016-11-23 18:02:23 +01:00
parent 298cd0f1f8
commit 34849f7bd3
No known key found for this signature in database
GPG key ID: 9CE5ED29E7FCD38A

View file

@ -65,7 +65,7 @@ describe('jquery.avatar tests', function() {
$div.avatar();
expect($div.imageplaceholder).toHaveBeenCalledWith('x');
expect($div.imageplaceholder).toHaveBeenCalledWith('?');
});
describe('no avatar', function() {
@ -96,7 +96,7 @@ describe('jquery.avatar tests', function() {
})
);
expect($div.imageplaceholder).toHaveBeenCalledWith('foo', 'X');
expect($div.imageplaceholder).toHaveBeenCalledWith('foo', '?');
});
it('show no placeholder', function() {