alert is not the way to indicate a pending jasmine spec. >.< Try xit and xdescribe instead!

This commit is contained in:
Sarah Mei 2011-03-22 21:03:33 -07:00
parent bec34ec5e8
commit 87fb4b0552
2 changed files with 0 additions and 27 deletions

View file

@ -1,26 +0,0 @@
/* 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");
});
});
});

View file

@ -27,7 +27,6 @@ src_files:
- public/javascripts/widgets/i18n.js
- public/javascripts/widgets/timeago.js
- public/javascripts/mobile.js
- public/javascripts/aspect-edit.js
- public/javascripts/aspect-contacts.js
- public/javascripts/contact-list.js
- public/javascripts/web-socket-receiver.js