mirror of
https://github.com/discourse/discourse.git
synced 2025-09-06 10:50:21 +08:00
FEATURE: Group logs.
This commit is contained in:
parent
790f1ef9f3
commit
05f55dbc10
37 changed files with 857 additions and 45 deletions
|
@ -85,7 +85,10 @@ describe Admin::GroupsController do
|
|||
context ".update" do
|
||||
|
||||
it "ignore name change on automatic group" do
|
||||
xhr :put, :update, { id: 1, group: { name: "WAT", visible: "true" } }
|
||||
expect do
|
||||
xhr :put, :update, { id: 1, group: { name: "WAT", visible: "true" } }
|
||||
end.to_not change { GroupHistory.count }
|
||||
|
||||
expect(response).to be_success
|
||||
|
||||
group = Group.find(1)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue