Issuable consern uses StateMachine now

This commit is contained in:
Andrew8xx8 2013-02-18 12:36:50 +04:00
parent 8db3920c01
commit f97296597c
4 changed files with 2 additions and 74 deletions

View file

@ -15,7 +15,6 @@ describe Issue, "Issuable" 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