]> cat aescling's git repositories - mastodon.git/commitdiff
update account_spec
authorSamy KACIMI <samy.kacimi@gmail.com>
Tue, 4 Apr 2017 22:37:23 +0000 (00:37 +0200)
committerSamy KACIMI <samy.kacimi@gmail.com>
Tue, 4 Apr 2017 22:37:23 +0000 (00:37 +0200)
spec/models/account_spec.rb

index fbc9a7d407b2c05b6db2989c96c75af6955e8a5e..d7f59adb821d18ce5a66bde352fffb03b0639806 100644 (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?