Fix specs

This commit is contained in:
Riyad Preukschas 2012-11-14 01:20:37 +01:00
parent a85e11fa51
commit 578cf89812
6 changed files with 39 additions and 36 deletions

View file

@ -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