Revision 1123
Added by Jean-Philippe Lang over 17 years ago
trunk/test/functional/projects_controller_test.rb | ||
---|---|---|
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 | 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 |
} |
Also available in: Unified diff
Activity test fix (r1120).