Commit b45567c5 authored by Alfredo Sumaran's avatar Alfredo Sumaran

Fix failing spec

parent ea71340f
...@@ -129,7 +129,7 @@ describe Groups::GroupMembersController do ...@@ -129,7 +129,7 @@ describe Groups::GroupMembersController do
delete :leave, group_id: group, format: :json delete :leave, group_id: group, format: :json
expect(response).to have_http_status(200) 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
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment