mirror of
https://github.com/codeninjasllc/discourse.git
synced 2025-03-29 00:00:33 -04:00
Merge pull request #1583 from velesin/header_test_fix
fixes wrong placement of expect in header integration test
This commit is contained in:
commit
84d531cff7
1 changed files with 1 additions and 5 deletions
|
@ -1,14 +1,10 @@
|
|||
integration("Header");
|
||||
|
||||
test("/", function() {
|
||||
expect(2);
|
||||
|
||||
visit("/").then(function() {
|
||||
expect(2);
|
||||
|
||||
ok(exists("header"), "The header was rendered");
|
||||
ok(exists("#site-logo"), "The logo was shown");
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue