Skip to content
Extraits de code Groupes Projets
Valider 00bb5167 rédigé par MrZYX's avatar MrZYX
Parcourir les fichiers

fixed spec

parent 73f852c6
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -51,11 +51,11 @@ describe("Diaspora", function() { ...@@ -51,11 +51,11 @@ describe("Diaspora", function() {
spec.loadFixture("aspects_index_with_posts"); spec.loadFixture("aspects_index_with_posts");
var $post = $("#main_stream").children(".stream_element:first"), var $post = $("#main_stream").children(".stream_element:first"),
$contentParagraph = $post.children(".content").children(".from").children("p"), $contentParagraph = $post.children(".content").children("p"),
$infoDiv = $contentParagraph.closest(".from").siblings(".info"); $infoDiv = $contentParagraph.prev(".from").siblings(".info");
expect($infoDiv.length).toEqual(1); expect($infoDiv.length).toEqual(1);
}); });
}); });
}); });
}); });
\ No newline at end of file
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