tests fix

This commit is contained in:
Andrey Kumanyaev 2012-10-09 04:10:16 +04:00
parent df7c52489a
commit a4cd738686
7 changed files with 10 additions and 10 deletions

View file

@ -12,7 +12,7 @@ describe Milestone do
describe "Validation" do
it { should validate_presence_of(:title) }
it { should validate_presence_of(:project_id) }
it { should validate_presence_of(:project) }
it { should ensure_inclusion_of(:closed).in_array([true, false]) }
end