From: trwnh Date: Tue, 21 May 2019 11:29:06 +0000 (-0500) Subject: Update remote bio test from 160 to 500 (#10799) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=e3b39ea4a41ea7fb0e2ef19a84056e9f835f7c8a;p=mastodon.git Update remote bio test from 160 to 500 (#10799) --- diff --git a/spec/models/account_spec.rb b/spec/models/account_spec.rb index 719e01de7..379872316 100644 --- a/spec/models/account_spec.rb +++ b/spec/models/account_spec.rb @@ -647,8 +647,8 @@ RSpec.describe Account, type: :model do expect(account).not_to model_have_error_on_field(:display_name) end - it 'is valid even if the note is longer than 160 characters' do - account = Fabricate.build(:account, domain: 'domain', note: Faker::Lorem.characters(161)) + it 'is valid even if the note is longer than 500 characters' do + account = Fabricate.build(:account, domain: 'domain', note: Faker::Lorem.characters(501)) account.valid? expect(account).not_to model_have_error_on_field(:note) end