mirror of
https://github.com/discourse/discourse.git
synced 2025-06-04 23:14:44 +08:00
Migrate all jasmine specs to Qunit. Removed Jasmine.
This commit is contained in:
@ -13,6 +13,8 @@ module("Header", {
|
||||
test("/", function() {
|
||||
|
||||
visit("/").then(function() {
|
||||
expect(2);
|
||||
|
||||
ok(exists("header"), "The header was rendered");
|
||||
ok(exists("#site-logo"), "The logo was shown");
|
||||
});
|
||||
|
@ -13,6 +13,8 @@ module("List Topics", {
|
||||
test("/", function() {
|
||||
|
||||
visit("/").then(function() {
|
||||
expect(2);
|
||||
|
||||
ok(exists("#topic-list"), "The list of topics was rendered");
|
||||
ok(count('#topic-list .topic-list-item') > 0, "has topics");
|
||||
});
|
||||
|
Reference in New Issue
Block a user