mirror of
https://github.com/discourse/discourse.git
synced 2024-11-27 08:53:38 +08:00
FIX: Broken test
This commit is contained in:
parent
a6848bd9e9
commit
aeb0ea1f25
|
@ -76,7 +76,7 @@ test("location links part is rendered correctly", function() {
|
||||||
|
|
||||||
var $latestTopicsLink = $locationLinks.find(".latest-topics-link");
|
var $latestTopicsLink = $locationLinks.find(".latest-topics-link");
|
||||||
ok(exists($latestTopicsLink), "the latest topics link is present");
|
ok(exists($latestTopicsLink), "the latest topics link is present");
|
||||||
equal($latestTopicsLink.attr("href"), "/", "the latest topics link points to a correct URL");
|
equal($latestTopicsLink.attr("href"), "/latest", "the latest topics link points to a correct URL");
|
||||||
equal($latestTopicsLink.attr("title"), "filters.latest.help", "the latest topics link has correct title attr");
|
equal($latestTopicsLink.attr("title"), "filters.latest.help", "the latest topics link has correct title attr");
|
||||||
equal($latestTopicsLink.text(), "filters.latest.title", "the latest topics link has correct text");
|
equal($latestTopicsLink.text(), "filters.latest.title", "the latest topics link has correct text");
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user