first pack of tests for milestones
This commit is contained in:
parent
23d950855d
commit
d98b183361
8 changed files with 145 additions and 48 deletions
|
@ -5,6 +5,7 @@ describe Issue do
|
|||
it { should belong_to(:project) }
|
||||
it { should belong_to(:author) }
|
||||
it { should belong_to(:assignee) }
|
||||
it { should belong_to(:milestone) }
|
||||
end
|
||||
|
||||
describe "Validation" do
|
||||
|
@ -22,7 +23,7 @@ describe Issue do
|
|||
it { Factory.create(:issue,
|
||||
:author => Factory(:user),
|
||||
:assignee => Factory(:user),
|
||||
:project => Factory.create(:project)).should be_valid }
|
||||
:projet => Factory.create(:project)).should be_valid }
|
||||
|
||||
describe "plus 1" do
|
||||
let(:project) { Factory(:project) }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue