mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-27 17:46:05 -05:00
fix the build (:fired:)
This commit is contained in:
parent
0472012dae
commit
40da065930
1 changed files with 2 additions and 2 deletions
|
@ -11,12 +11,12 @@ test("Visit Discovery Pages", function() {
|
|||
andThen(function() {
|
||||
ok(exists(".topic-list"), "The list of topics was rendered");
|
||||
ok(exists('.topic-list .topic-list-item'), "has topics");
|
||||
ok($('body.category-1').length, "has a custom css class for the category id on the body");
|
||||
ok($('body.category-bug').length, "has a custom css class for the category id on the body");
|
||||
});
|
||||
|
||||
visit("/categories");
|
||||
andThen(function() {
|
||||
ok($('body.category-1').length === 0, "removes the custom category class");
|
||||
ok($('body.category-bug').length === 0, "removes the custom category class");
|
||||
|
||||
ok(exists('.category'), "has a list of categories");
|
||||
ok($('body.categories-list').length, "has a custom class to indicate categories");
|
||||
|
|
Loading…
Reference in a new issue