removed pending test
This commit is contained in:
parent
ec93faa2c4
commit
c27e2de478
1 changed files with 345 additions and 350 deletions
|
|
@ -59,13 +59,7 @@ describe("Publisher", function() {
|
||||||
Publisher.initialize();
|
Publisher.initialize();
|
||||||
expect(Publisher.bindServiceIcons).toHaveBeenCalled();
|
expect(Publisher.bindServiceIcons).toHaveBeenCalled();
|
||||||
});
|
});
|
||||||
it('binds to the services icons on click', function(){
|
|
||||||
expect("pending").toEqual("Is this a valid test? If so how do I test it?");
|
|
||||||
//spyOn($(".service"), 'bind');
|
|
||||||
|
|
||||||
//Publisher.bindServiceIcons();
|
|
||||||
//expect($(".service").bind).toHaveBeenCalled();
|
|
||||||
});
|
|
||||||
it('toggles dim only on the clicked icon', function(){
|
it('toggles dim only on the clicked icon', function(){
|
||||||
expect($(".service_icon#facebook").hasClass("dim")).toBeTruthy();
|
expect($(".service_icon#facebook").hasClass("dim")).toBeTruthy();
|
||||||
expect($(".service_icon#twitter").hasClass("dim")).toBeTruthy();
|
expect($(".service_icon#twitter").hasClass("dim")).toBeTruthy();
|
||||||
|
|
@ -76,6 +70,7 @@ describe("Publisher", function() {
|
||||||
expect($(".service_icon#facebook").hasClass("dim")).toBeFalsy();
|
expect($(".service_icon#facebook").hasClass("dim")).toBeFalsy();
|
||||||
expect($(".service_icon#twitter").hasClass("dim")).toBeTruthy();
|
expect($(".service_icon#twitter").hasClass("dim")).toBeTruthy();
|
||||||
});
|
});
|
||||||
|
|
||||||
it('binds to the services icons and toggles the hidden field', function(){
|
it('binds to the services icons and toggles the hidden field', function(){
|
||||||
spyOn(Publisher, 'toggleServiceField');
|
spyOn(Publisher, 'toggleServiceField');
|
||||||
Publisher.bindServiceIcons();
|
Publisher.bindServiceIcons();
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue