TRIVIAL: Remove some output from qunit test suite.
This commit is contained in:
parent
f0da4bf632
commit
9d82111813
|
@ -1,7 +1,7 @@
|
||||||
module("Discourse.HasCurrentUser");
|
module("Discourse.HasCurrentUser");
|
||||||
|
|
||||||
test("adds `currentUser` property to an object and ensures it is not cached", function() {
|
test("adds `currentUser` property to an object and ensures it is not cached", function() {
|
||||||
sinon.stub(Discourse.User, "current");
|
this.stub(Discourse.User, "current");
|
||||||
var testObj = Ember.Object.createWithMixins(Discourse.HasCurrentUser, {});
|
var testObj = Ember.Object.createWithMixins(Discourse.HasCurrentUser, {});
|
||||||
|
|
||||||
Discourse.User.current.returns("first user");
|
Discourse.User.current.returns("first user");
|
||||||
|
|
|
@ -46,7 +46,7 @@ test("renders correctly with all allowed properties set", function() {
|
||||||
|
|
||||||
test("is registered as helper", function() {
|
test("is registered as helper", function() {
|
||||||
var view = Ember.View.create({
|
var view = Ember.View.create({
|
||||||
template: Ember.Handlebars.compile("{{textField}}")
|
template: Ember.Handlebars.compile("{{text-field}}")
|
||||||
});
|
});
|
||||||
|
|
||||||
Ember.run(function() {
|
Ember.run(function() {
|
||||||
|
|
Loading…
Reference in New Issue