about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRoni Laukkarinen <roni@laukkarinen.info>2022-11-08 17:35:42 +0200
committerGitHub <noreply@github.com>2022-11-08 16:35:42 +0100
commit36b0ff57b7699db3d6acaa969a6c1491d1b9f9e3 (patch)
tree5574b63bd5402c13c5dbe08e99aee9a1b28b6488
parent782b6835f786385c41c6455f2a251d1925b19eb5 (diff)
Fix grammar (#20106)
-rw-r--r--spec/models/account_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/account_spec.rb b/spec/models/account_spec.rb
index 467d41836..75e0235b8 100644
--- a/spec/models/account_spec.rb
+++ b/spec/models/account_spec.rb
@@ -755,7 +755,7 @@ RSpec.describe Account, type: :model do
         expect(account).to model_have_error_on_field(:username)
       end
 
-      it 'is invalid if the username is longer then 30 characters' do
+      it 'is invalid if the username is longer than 30 characters' do
         account = Fabricate.build(:account, username: Faker::Lorem.characters(number: 31))
         account.valid?
         expect(account).to model_have_error_on_field(:username)
@@ -801,7 +801,7 @@ RSpec.describe Account, type: :model do
         expect(account).to model_have_error_on_field(:username)
       end
 
-      it 'is valid even if the username is longer then 30 characters' do
+      it 'is valid even if the username is longer than 30 characters' do
         account = Fabricate.build(:account, domain: 'domain', username: Faker::Lorem.characters(number: 31))
         account.valid?
         expect(account).not_to model_have_error_on_field(:username)