##// END OF EJS Templates
Activity test fix (r1120)....
Jean-Philippe Lang -
r1109:fde2a497da75
parent child
Show More
@@ -163,9 +163,10 class ProjectsControllerTest < Test::Unit::TestCase
163 163
164 164 assert_tag :tag => "h3",
165 165 :content => /#{2.days.ago.to_date.day}/,
166 :sibling => { :tag => "ul",
167 :child => { :tag => "li",
168 :child => { :tag => "p",
166 :sibling => { :tag => "dl",
167 :child => { :tag => "dt",
168 :attributes => { :class => 'journal' },
169 :child => { :tag => "a",
169 170 :content => /(#{IssueStatus.find(2).name})/,
170 171 }
171 172 }
@@ -178,9 +179,10 class ProjectsControllerTest < Test::Unit::TestCase
178 179
179 180 assert_tag :tag => "h3",
180 181 :content => /#{3.day.ago.to_date.day}/,
181 :sibling => { :tag => "ul",
182 :child => { :tag => "li",
183 :child => { :tag => "p",
182 :sibling => { :tag => "dl",
183 :child => { :tag => "dt",
184 :attributes => { :class => 'issue' },
185 :child => { :tag => "a",
184 186 :content => /#{Issue.find(1).subject}/,
185 187 }
186 188 }
General Comments 0
You need to be logged in to leave comments. Login now