fixed tests
This commit is contained in:
parent
d98b183361
commit
2bad798e11
2 changed files with 3 additions and 3 deletions
|
@ -45,7 +45,7 @@ describe "Milestones" do
|
|||
end
|
||||
|
||||
it { current_path.should == project_milestone_path(project, project.milestones.last) }
|
||||
it { should have_content(@milestone.title[0..10]) }
|
||||
it { should have_content(@milestone.expires_at) }
|
||||
it { page.should have_content(project.milestones.last.title[0..10]) }
|
||||
it { page.should have_content(project.milestones.last.expires_at) }
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue