Fix tests
The avatar plugin should not change the display element, since the avatar is always shown by default and the display value is up to the developers Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
parent
04a18098e4
commit
fd8f0788b1
|
@ -202,8 +202,6 @@ describe('jquery.avatar tests', function() {
|
||||||
expect(window.Image().height).toEqual(32);
|
expect(window.Image().height).toEqual(32);
|
||||||
expect(window.Image().width).toEqual(32);
|
expect(window.Image().width).toEqual(32);
|
||||||
expect(window.Image().src).toEqual('http://localhost/index.php/avatar/foo/32');
|
expect(window.Image().src).toEqual('http://localhost/index.php/avatar/foo/32');
|
||||||
|
|
||||||
expect($div.css('display')).toEqual('block');
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('callback called', function() {
|
it('callback called', function() {
|
||||||
|
|
Loading…
Reference in New Issue