diff --git a/test/javascripts/helpers/create-pretender.js.es6 b/test/javascripts/helpers/create-pretender.js.es6 index 7fcd5269d2e..a206634abc7 100644 --- a/test/javascripts/helpers/create-pretender.js.es6 +++ b/test/javascripts/helpers/create-pretender.js.es6 @@ -295,6 +295,10 @@ export default function() { return response({ csrf: "mgk906YLagHo2gOgM1ddYjAN4hQolBdJCqlY6jYzAYs=" }); }); + this.get("/groups/check-name", () => { + return response({ available: true }); + }); + this.get("/u/check_username", function(request) { if (request.queryParams.username === "taken") { return response({ available: false, suggestion: "nottaken" });