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