summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-05 18:50:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-02-05 18:50:21 +0000
commitfde2a497da752b4780a82a22b6becb20abb1953f (patch)
treeb03fe91ca19d701d8b4382af3b60c6c7e5a48f5b /test
parent14b2d3f4b9ab95a19c7bcac2e5f3563077103eb0 (diff)
downloadredmine-fde2a497da752b4780a82a22b6becb20abb1953f.tar.gz
redmine-fde2a497da752b4780a82a22b6becb20abb1953f.zip
Activity test fix (r1120).
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1123 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/projects_controller_test.rb14
1 files changed, 8 insertions, 6 deletions
diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb
index 16eb2906e..71a3e3dfe 100644
--- a/test/functional/projects_controller_test.rb
+++ b/test/functional/projects_controller_test.rb
@@ -163,9 +163,10 @@ class ProjectsControllerTest < Test::Unit::TestCase
assert_tag :tag => "h3",
:content => /#{2.days.ago.to_date.day}/,
- :sibling => { :tag => "ul",
- :child => { :tag => "li",
- :child => { :tag => "p",
+ :sibling => { :tag => "dl",
+ :child => { :tag => "dt",
+ :attributes => { :class => 'journal' },
+ :child => { :tag => "a",
:content => /(#{IssueStatus.find(2).name})/,
}
}
@@ -178,9 +179,10 @@ class ProjectsControllerTest < Test::Unit::TestCase
assert_tag :tag => "h3",
:content => /#{3.day.ago.to_date.day}/,
- :sibling => { :tag => "ul",
- :child => { :tag => "li",
- :child => { :tag => "p",
+ :sibling => { :tag => "dl",
+ :child => { :tag => "dt",
+ :attributes => { :class => 'issue' },
+ :child => { :tag => "a",
:content => /#{Issue.find(1).subject}/,
}
}