Update tests for new rich text enabled fileds [SCI-3264]

This commit is contained in:
Oleksii Kriuchykhin 2019-04-24 13:45:29 +02:00
parent a3f5974dbd
commit 260782e233
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ describe MyModule, type: :model do
end
it do
should validate_length_of(:description)
.is_at_most(Constants::TEXT_MAX_LENGTH)
.is_at_most(Constants::RICH_TEXT_MAX_LENGTH)
end
end
end

View file

@ -48,7 +48,7 @@ describe Protocol, type: :model do
end
it do
should validate_length_of(:description)
.is_at_most(Constants::TEXT_MAX_LENGTH)
.is_at_most(Constants::RICH_TEXT_MAX_LENGTH)
end
end
describe '.archive(user)' do