Activity test fix (r1120).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1123 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
14b2d3f4b9
commit
fde2a497da
|
@ -163,9 +163,10 @@ class ProjectsControllerTest < Test::Unit::TestCase
|
||||||
|
|
||||||
assert_tag :tag => "h3",
|
assert_tag :tag => "h3",
|
||||||
:content => /#{2.days.ago.to_date.day}/,
|
:content => /#{2.days.ago.to_date.day}/,
|
||||||
:sibling => { :tag => "ul",
|
:sibling => { :tag => "dl",
|
||||||
:child => { :tag => "li",
|
:child => { :tag => "dt",
|
||||||
:child => { :tag => "p",
|
:attributes => { :class => 'journal' },
|
||||||
|
:child => { :tag => "a",
|
||||||
:content => /(#{IssueStatus.find(2).name})/,
|
:content => /(#{IssueStatus.find(2).name})/,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -178,9 +179,10 @@ class ProjectsControllerTest < Test::Unit::TestCase
|
||||||
|
|
||||||
assert_tag :tag => "h3",
|
assert_tag :tag => "h3",
|
||||||
:content => /#{3.day.ago.to_date.day}/,
|
:content => /#{3.day.ago.to_date.day}/,
|
||||||
:sibling => { :tag => "ul",
|
:sibling => { :tag => "dl",
|
||||||
:child => { :tag => "li",
|
:child => { :tag => "dt",
|
||||||
:child => { :tag => "p",
|
:attributes => { :class => 'issue' },
|
||||||
|
:child => { :tag => "a",
|
||||||
:content => /#{Issue.find(1).subject}/,
|
:content => /#{Issue.find(1).subject}/,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue