fix unit tests

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
pull/2247/head
Morris Jobke 8 years ago
parent 298cd0f1f8
commit 34849f7bd3
No known key found for this signature in database
GPG Key ID: 9CE5ED29E7FCD38A
  1. 4
      core/js/tests/specs/jquery.avatarSpec.js

@ -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() {

Loading…
Cancel
Save