Update remote bio test from 160 to 500 (#10799)

remotes/1727458204337373841/tmp_refs/heads/signup-info-prompt
trwnh 2019-05-21 06:29:06 -05:00 committed by Eugen Rochko
parent 0c933c1b8c
commit e3b39ea4a4
1 changed files with 2 additions and 2 deletions

View File

@ -647,8 +647,8 @@ RSpec.describe Account, type: :model do
expect(account).not_to model_have_error_on_field(:display_name) expect(account).not_to model_have_error_on_field(:display_name)
end end
it 'is valid even if the note is longer than 160 characters' do it 'is valid even if the note is longer than 500 characters' do
account = Fabricate.build(:account, domain: 'domain', note: Faker::Lorem.characters(161)) account = Fabricate.build(:account, domain: 'domain', note: Faker::Lorem.characters(501))
account.valid? account.valid?
expect(account).not_to model_have_error_on_field(:note) expect(account).not_to model_have_error_on_field(:note)
end end