diff options
author | Alfredo Sumaran <alfredo@gitlab.com> | 2017-06-07 15:01:38 +0300 |
---|---|---|
committer | Alfredo Sumaran <alfredo@gitlab.com> | 2017-06-07 15:01:38 +0300 |
commit | b45567c5b3fba3f6d5dbd734ef585ec21bf796d0 (patch) | |
tree | 6ed438990fbfd76f69771e9b7d2693614f217d25 /spec/controllers | |
parent | ea71340f077ab2694fa473cf8238cf4b9513fda2 (diff) |
Fix failing spec
Diffstat (limited to 'spec/controllers')
-rw-r--r-- | spec/controllers/groups/group_members_controller_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/controllers/groups/group_members_controller_spec.rb b/spec/controllers/groups/group_members_controller_spec.rb index b6f10162bc6..ed4ad7b600e 100644 --- a/spec/controllers/groups/group_members_controller_spec.rb +++ b/spec/controllers/groups/group_members_controller_spec.rb @@ -129,7 +129,7 @@ describe Groups::GroupMembersController do delete :leave, group_id: group, format: :json expect(response).to have_http_status(200) - expect(response.body).to be_empty + expect(json_response['notice']).to eq "You left the \"#{group.name}\" group." end end |