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