mirror of
https://github.com/discourse/discourse.git
synced 2025-06-01 09:05:53 +08:00
FIX: Don't downcase group name.
This commit is contained in:
@ -21,7 +21,7 @@ describe Group do
|
||||
end
|
||||
end
|
||||
|
||||
describe '#username' do
|
||||
describe '#name' do
|
||||
context 'when a user with a similar name exists' do
|
||||
it 'should not be valid' do
|
||||
new_group = Fabricate.build(:group, name: admin.username.upcase)
|
||||
|
Reference in New Issue
Block a user