Browse Source

update account_spec

closed-social-glitch-2
Samy KACIMI 7 years ago
parent
commit
46c0e8b0e7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      spec/models/account_spec.rb

+ 1
- 1
spec/models/account_spec.rb View File

@ -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…
Cancel
Save