Skip to content
Extraits de code Groupes Projets
Valider 87fb4b05 rédigé par Sarah Mei's avatar Sarah Mei
Parcourir les fichiers

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

parent bec34ec5
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
/* 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");
});
});
});
...@@ -27,7 +27,6 @@ src_files: ...@@ -27,7 +27,6 @@ src_files:
- public/javascripts/widgets/i18n.js - public/javascripts/widgets/i18n.js
- public/javascripts/widgets/timeago.js - public/javascripts/widgets/timeago.js
- public/javascripts/mobile.js - public/javascripts/mobile.js
- public/javascripts/aspect-edit.js
- public/javascripts/aspect-contacts.js - public/javascripts/aspect-contacts.js
- public/javascripts/contact-list.js - public/javascripts/contact-list.js
- public/javascripts/web-socket-receiver.js - public/javascripts/web-socket-receiver.js
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter