]> source.dussan.org Git - redmine.git/commitdiff
Activity test fix (r1120).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 5 Feb 2008 18:50:21 +0000 (18:50 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 5 Feb 2008 18:50:21 +0000 (18:50 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1123 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/projects_controller_test.rb

index 16eb2906e76e19a17d532efd6edec006cad7a242..71a3e3dfe2fc655f03c0a887651ba6d22d958e2a 100644 (file)
@@ -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}/,
                    }
                  }