FIX: Wrong text. Thanks @riking

This commit is contained in:
Robin Ward 2014-02-10 17:36:13 -05:00
parent 14449f236a
commit ca17f8a437

View file

@ -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