mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-25 00:29:30 -05:00
15 lines
387 B
Text
15 lines
387 B
Text
|
integration("Badges");
|
||
|
|
||
|
test("Visit Badge Pages", function() {
|
||
|
visit("/badges");
|
||
|
andThen(function() {
|
||
|
ok(exists('.badges-listing tr'), "has a list of badges");
|
||
|
});
|
||
|
|
||
|
visit("/badges/9/autobiographer");
|
||
|
andThen(function() {
|
||
|
ok(exists('.badges-listing tr'), "has the badge in the listing");
|
||
|
ok(exists('.badge-user'), "has the list of users with that badge");
|
||
|
});
|
||
|
});
|