fixed spec

This commit is contained in:
MrZYX 2011-03-15 18:35:27 +01:00
parent 73f852c6c2
commit 00bb5167f8

View file

@ -51,11 +51,11 @@ describe("Diaspora", function() {
spec.loadFixture("aspects_index_with_posts");
var $post = $("#main_stream").children(".stream_element:first"),
$contentParagraph = $post.children(".content").children(".from").children("p"),
$infoDiv = $contentParagraph.closest(".from").siblings(".info");
$contentParagraph = $post.children(".content").children("p"),
$infoDiv = $contentParagraph.prev(".from").siblings(".info");
expect($infoDiv.length).toEqual(1);
});
});
});
});
});