diaspora/spec/javascripts/aspect-edit-spec.js
zhitomirskiyi 2b6165d8ea wip
2011-03-17 14:32:07 -07:00

26 lines
795 B
JavaScript

/* 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");
});
});
});