Fix specs
This commit is contained in:
parent
a85e11fa51
commit
578cf89812
6 changed files with 39 additions and 36 deletions
|
@ -15,6 +15,7 @@ describe Issue, "IssueCommonality" do
|
|||
it { should validate_presence_of(:author) }
|
||||
it { should validate_presence_of(:title) }
|
||||
it { should ensure_length_of(:title).is_at_least(0).is_at_most(255) }
|
||||
it { should ensure_inclusion_of(:closed).in_array([true, false]) }
|
||||
end
|
||||
|
||||
describe "Scope" do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue