From d793a0fbfc5b41e4213f916e54d79c1a28e8e264 Mon Sep 17 00:00:00 2001 From: Guo Xiang Tan Date: Fri, 6 Jan 2017 16:00:29 +0800 Subject: [PATCH] Fix JS tests. --- test/javascripts/acceptance/group-edit-test.js.es6 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/javascripts/acceptance/group-edit-test.js.es6 b/test/javascripts/acceptance/group-edit-test.js.es6 index 234505277d6..e4498bf793a 100644 --- a/test/javascripts/acceptance/group-edit-test.js.es6 +++ b/test/javascripts/acceptance/group-edit-test.js.es6 @@ -18,10 +18,8 @@ test("Editing group", () => { ok(find('.group-members-input-selector .add[disabled]').length === 1, 'add members button should be disabled'); }); - click('.group-edit-public'); - andThen(() => { - ok(find('.group-edit-allow-membership-requests[disabled]').length === 1, 'it should disable group allow_membership_requets input'); + ok(find('.group-edit-allow-membership-requests[disabled]').length === 1, 'it should disable group allow_membership_request input'); }); click('.group-edit-public');