mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 21:11:10 +08:00
More Javascript Tests + Fixtures. Also a rake task to crawl them.
This commit is contained in:
12
test/javascripts/integration/user_test.js
Normal file
12
test/javascripts/integration/user_test.js
Normal file
@ -0,0 +1,12 @@
|
||||
integration("User");
|
||||
|
||||
test("Profile", function() {
|
||||
|
||||
visit("/users/eviltrout").then(function() {
|
||||
expect(2);
|
||||
|
||||
ok(exists(".user-heading"), "The heading is rendered");
|
||||
ok(exists("#user-stream"), "The stream is rendered");
|
||||
});
|
||||
|
||||
});
|
Reference in New Issue
Block a user