From 9d821118138d8754996aa4a754659649ce877afc Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Thu, 19 Jun 2014 16:00:01 -0400 Subject: [PATCH] TRIVIAL: Remove some output from qunit test suite. --- test/javascripts/mixins/has_current_user_test.js | 2 +- test/javascripts/views/text_field_test.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/javascripts/mixins/has_current_user_test.js b/test/javascripts/mixins/has_current_user_test.js index 2858c0d9f89..81ab163efd8 100644 --- a/test/javascripts/mixins/has_current_user_test.js +++ b/test/javascripts/mixins/has_current_user_test.js @@ -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"); diff --git a/test/javascripts/views/text_field_test.js b/test/javascripts/views/text_field_test.js index 1b0986a96df..e5fb3d0d7ec 100644 --- a/test/javascripts/views/text_field_test.js +++ b/test/javascripts/views/text_field_test.js @@ -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() {