about summary refs log tree commit diff
path: root/spec/models
diff options
context:
space:
mode:
authortrwnh <a@trwnh.com>2019-05-21 06:29:06 -0500
committerEugen Rochko <eugen@zeonfederated.com>2019-05-21 13:29:06 +0200
commite3b39ea4a41ea7fb0e2ef19a84056e9f835f7c8a (patch)
treed1cd26b48522494de5a413ad44e81efb52f3a680 /spec/models
parent0c933c1b8ca18d5856ee4b24cee1744f1137c516 (diff)
Update remote bio test from 160 to 500 (#10799)
Diffstat (limited to 'spec/models')
-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 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