mirror of
https://github.com/discourse/discourse.git
synced 2025-02-06 03:18:23 +00:00
TRIVIAL: Remove some output from qunit test suite.
This commit is contained in:
parent
f0da4bf632
commit
9d82111813
@ -1,7 +1,7 @@
|
||||
module("Discourse.HasCurrentUser");
|
||||
|
||||
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, {});
|
||||
|
||||
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() {
|
||||
var view = Ember.View.create({
|
||||
template: Ember.Handlebars.compile("{{textField}}")
|
||||
template: Ember.Handlebars.compile("{{text-field}}")
|
||||
});
|
||||
|
||||
Ember.run(function() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user