Example #1
0
 it("should toggle", function() {
     var myPalette = new palette.Palette('false invoker');
     myPalette.toggle();
     expect(myPalette.isDown()).toBe(false);
     myPalette.toggle();
     expect(myPalette.isDown()).toBe(true);
 });
Example #2
0
 it("should start down", function() {
     var myPalette = new palette.Palette('false invoker');
     expect(myPalette.isDown()).toBe(true);
 });