Modify minimum comment body length

This commit is contained in:
riggraz
2019-09-30 18:49:15 +02:00
parent 551feef79e
commit 1d211e61ad
2 changed files with 1 additions and 7 deletions

View File

@@ -15,12 +15,6 @@ RSpec.describe Comment, type: :model do
expect(empty_body).to be_invalid
end
it 'has a body with 4 or more characters' do
short_body = FactoryBot.build(:comment, body: 'a' * 3)
expect(short_body).to be_invalid
end
it 'can have no parent' do
no_parent = FactoryBot.build(:comment, parent: nil)