Skip to content

Commit

Permalink
Update remote bio test from 160 to 500 (mastodon#10799)
Browse files Browse the repository at this point in the history
  • Loading branch information
trwnh authored and Gargron committed May 21, 2019
1 parent 0c933c1 commit e3b39ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/models/account_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -647,8 +647,8 @@
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
Expand Down

0 comments on commit e3b39ea

Please sign in to comment.