Issuable consern uses StateMachine now
This commit is contained in:
parent
8db3920c01
commit
f97296597c
4 changed files with 2 additions and 74 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue