mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FIX: Minor Admin bug with a setting when creating a new group
This commit is contained in:
parent
0500638900
commit
f7f5e39f75
5 changed files with 12 additions and 9 deletions
|
@ -21,12 +21,13 @@ describe Admin::GroupsController do
|
|||
expect(response.status).to eq(200)
|
||||
expect(::JSON.parse(response.body).keep_if {|r| r["id"] == group.id }).to eq([{
|
||||
"id"=>group.id,
|
||||
"automatic"=>false,
|
||||
"name"=>group.name,
|
||||
"user_count"=>1,
|
||||
"automatic"=>false,
|
||||
"alias_level"=>0,
|
||||
"visible"=>true,
|
||||
"automatic_membership_email_domains"=>"",
|
||||
"automatic_membership_email_domains"=>nil,
|
||||
"automatic_membership_retroactive"=>false
|
||||
}])
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue