mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-27 10:08:11 +08:00
fixed checklist_item_test
This commit is contained in:
parent
a0568a7395
commit
613601f790
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ require 'test_helper'
|
|||
|
||||
class ChecklistItemTest < ActiveSupport::TestCase
|
||||
should validate_presence_of(:text)
|
||||
should should validate_length_of(:text)
|
||||
should validate_length_of(:text)
|
||||
.is_at_most(TEXT_MAX_LENGTH)
|
||||
|
||||
test "should validate with correct data" do
|
||||
|
|
Loading…
Reference in a new issue