Skip to content
Snippets Groups Projects
Unverified Commit 36b0ff57 authored by Roni Laukkarinen's avatar Roni Laukkarinen Committed by GitHub
Browse files

Fix grammar (#20106)

parent 782b6835
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment