mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05:00
FIX: Wrong text. Thanks @riking
This commit is contained in:
parent
14449f236a
commit
ca17f8a437
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue