fixed spec
This commit is contained in:
parent
73f852c6c2
commit
00bb5167f8
1 changed files with 3 additions and 3 deletions
|
|
@ -51,8 +51,8 @@ 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);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue