/* Copyright (c) 2010, Diaspora Inc. This file is * licensed under the Affero General Public License version 3 or later. See * the COPYRIGHT file. */ describe("FriendFinder", function() { beforeEach(function() { //spec.loadFixture('aspects_manage'); }); describe("initialize", function() { 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"); }); }); });