mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Moved a bunch of tests to QUnit. Added basic Discourse.Site support to test suite.
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
/*global module:true test:true ok:true visit:true expect:true exists:true count:true */
|
||||
|
||||
module("Header", {
|
||||
|
||||
setup: function() {
|
||||
Ember.run(Discourse, Discourse.advanceReadiness);
|
||||
},
|
||||
@@ -12,7 +11,6 @@ module("Header", {
|
||||
});
|
||||
|
||||
test("/", function() {
|
||||
expect(2);
|
||||
|
||||
visit("/").then(function() {
|
||||
ok(exists("header"), "The header was rendered");
|
||||
|
||||
@@ -11,7 +11,6 @@ module("List Topics", {
|
||||
});
|
||||
|
||||
test("/", function() {
|
||||
expect(2);
|
||||
|
||||
visit("/").then(function() {
|
||||
ok(exists("#topic-list"), "The list of topics was rendered");
|
||||
|
||||
Reference in New Issue
Block a user