mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 09:57:25 +08:00
correct spec to handle not null visibility_level
This commit is contained in:
@ -115,10 +115,7 @@ describe Admin::GroupsController do
|
||||
end
|
||||
|
||||
it "ignore name change on automatic group" do
|
||||
expect do
|
||||
xhr :put, :update, { id: 1, group: { name: "WAT" } }
|
||||
end.to change { GroupHistory.count }.by(1)
|
||||
|
||||
xhr :put, :update, { id: 1, group: { name: "WAT" } }
|
||||
expect(response).to be_success
|
||||
|
||||
group = Group.find(1)
|
||||
|
Reference in New Issue
Block a user