FIX: Can't update Groups#allow_membership_requests in admin.

This commit is contained in:
Guo Xiang Tan
2016-12-20 15:14:35 +08:00
parent c15bf62b43
commit 7c7c233c1c
3 changed files with 13 additions and 2 deletions

View File

@@ -84,6 +84,8 @@ describe "Groups" do
end
it "should be able update the group" do
group.update!(allow_membership_requests: false)
expect do
xhr :put, "/groups/#{group.id}", { group: {
flair_bg_color: 'FFF',