From 0ab52b127ba6f4aefd68317b30067e27fb77866c Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Thu, 15 Dec 2016 16:52:47 +0800 Subject: [PATCH] Fix JS tests. --- .../group-membership-button-test.js.es6} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename test/javascripts/{controllers/group-index-test.js.es6 => components/group-membership-button-test.js.es6} (92%) diff --git a/test/javascripts/controllers/group-index-test.js.es6 b/test/javascripts/components/group-membership-button-test.js.es6 similarity index 92% rename from test/javascripts/controllers/group-index-test.js.es6 rename to test/javascripts/components/group-membership-button-test.js.es6 index 361439154c9..ceeeee29e4a 100644 --- a/test/javascripts/controllers/group-index-test.js.es6 +++ b/test/javascripts/components/group-membership-button-test.js.es6 @@ -1,8 +1,8 @@ import { currentUser } from "helpers/qunit-helpers"; -moduleFor("controller:group-index"); +moduleFor('component:group-membership-button'); -test("canJoinGroup", function() { +test('canJoinGroup', function() { this.subject().setProperties({ model: { public: false } });