mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 03:36:44 +08:00
Update tests for new rich text enabled fileds [SCI-3264]
This commit is contained in:
parent
a3f5974dbd
commit
260782e233
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue