mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
update account_spec
This commit is contained in:
parent
7762467b47
commit
46c0e8b0e7
@ -223,7 +223,7 @@ RSpec.describe Account, type: :model do
|
||||
expect(account).to model_have_error_on_field(:username)
|
||||
end
|
||||
|
||||
it 'is invalid is the username already exists' do
|
||||
it 'is invalid if the username already exists' do
|
||||
account_1 = Fabricate(:account, username: 'the_doctor')
|
||||
account_2 = Fabricate.build(:account, username: 'the_doctor')
|
||||
account_2.valid?
|
||||
|
Loading…
Reference in New Issue
Block a user