mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-24 08:09:13 -05:00
21 lines
634 B
JavaScript
21 lines
634 B
JavaScript
integration("User");
|
|
|
|
test("Activity Streams", function() {
|
|
expect(14);
|
|
|
|
var streamTest = function(url) {
|
|
visit(url).then(function() {
|
|
ok(exists(".user-heading"), "The heading is rendered");
|
|
ok(exists("#user-activity"), "The activity is rendered");
|
|
});
|
|
};
|
|
|
|
streamTest("/users/eviltrout");
|
|
streamTest("/users/eviltrout/activity/topics");
|
|
streamTest("/users/eviltrout/activity/posts");
|
|
streamTest("/users/eviltrout/activity/replies");
|
|
streamTest("/users/eviltrout/activity/likes-given");
|
|
streamTest("/users/eviltrout/activity/likes-received");
|
|
streamTest("/users/eviltrout/activity/edits");
|
|
|
|
});
|