diff options
author | Samy KACIMI <samy.kacimi@gmail.com> | 2017-04-05 00:37:23 +0200 |
---|---|---|
committer | Samy KACIMI <samy.kacimi@gmail.com> | 2017-04-05 00:37:23 +0200 |
commit | 46c0e8b0e7980ecba0e68fe3b8c4d9121caa4b6f (patch) | |
tree | af6add37fa25fa3cf89d990d5018f85e16a345f5 | |
parent | 7762467b476af5c793d214ebc051b983921492b7 (diff) |
update account_spec
-rw-r--r-- | spec/models/account_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/models/account_spec.rb b/spec/models/account_spec.rb index fbc9a7d40..d7f59adb8 100644 --- a/spec/models/account_spec.rb +++ b/spec/models/account_spec.rb @@ -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? |