oops ... I keep forgetting to run qunit, really need to get it into autospec

This commit is contained in:
Sam 2013-07-25 12:06:02 +10:00
parent 589e9916f2
commit 3f5ea1ef79

View File

@ -16,7 +16,6 @@
//= require ../../app/assets/javascripts/external_development/group-helper.js
//= require ../../app/assets/javascripts/locales/i18n
//= require ../../app/assets/javascripts/locales/date_locales.js
//= require ../../app/assets/javascripts/discourse/helpers/i18n_helpers
//= require ../../app/assets/javascripts/locales/en
@ -53,7 +52,7 @@ sinon.config = {
useFakeServer: false
};
window.assetPath = function() { return null };
window.assetPath = function() { return null; };
var oldAjax = $.ajax;
$.ajax = function() {
@ -82,5 +81,5 @@ QUnit.testStart(function() {
Discourse.SiteSettings = jQuery.extend(true, {}, Discourse.SiteSettingsOriginal);
Discourse.BaseUri = "/";
Discourse.BaseUrl = "";
})
});