mirror of
https://github.com/discourse/discourse.git
synced 2025-05-24 03:36:18 +08:00
FIX: Wrong text. Thanks @riking
This commit is contained in:
@ -156,7 +156,7 @@ describe Admin::UsersController do
|
|||||||
response.should be_forbidden
|
response.should be_forbidden
|
||||||
end
|
end
|
||||||
|
|
||||||
it "chagnes the user's trust level" do
|
it "changes the user's primary group" do
|
||||||
xhr :put, :primary_group, user_id: @another_user.id, primary_group_id: 2
|
xhr :put, :primary_group, user_id: @another_user.id, primary_group_id: 2
|
||||||
@another_user.reload
|
@another_user.reload
|
||||||
@another_user.primary_group_id.should == 2
|
@another_user.primary_group_id.should == 2
|
||||||
|
Reference in New Issue
Block a user