Skip to content
Extraits de code Groupes Projets
aspect-edit-spec.js 795 octets
Newer Older
  • Learn to ignore specific revisions
  • Sarah Mei's avatar
    Sarah Mei a validé
    /*   Copyright (c) 2010, Diaspora Inc.  This file is
    *   licensed under the Affero General Public License version 3 or later.  See
    *   the COPYRIGHT file.
    */
    
    
    zhitomirskiyi's avatar
    zhitomirskiyi a validé
    describe("FriendFinder", function() {
    
      beforeEach(function() {
    
    zhitomirskiyi's avatar
    zhitomirskiyi a validé
        //spec.loadFixture('aspects_manage');
    
      describe("initialize", function() {
    
    zhitomirskiyi's avatar
    zhitomirskiyi a validé
        it("binds to the buttons and slides in the correct li", function() {
          alert("Friend Finder js needs to be tested!");
        //spyOn($.fn, "draggable");
        //AspectEdit.initialize();
        //expect($.fn.draggable).toHaveBeenCalledWith({
        //  revert: true, 
        //  start: AspectEdit.startDrag,
        //  drag: AspectEdit.duringDrag, 
        //  stop: AspectEdit.stopDrag
        //});
        //expect($.fn.draggable.mostRecentCall.object.selector).toEqual("ul .person");