]> source.dussan.org Git - redmine.git/commitdiff
Fixes test broken by r1578.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 24 Jun 2008 16:49:51 +0000 (16:49 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Tue, 24 Jun 2008 16:49:51 +0000 (16:49 +0000)
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1581 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/projects_controller_test.rb

index d4ce97dc24cfc99b2b62e4afbbff8ef05f7099fe..5b7c29b182d6b8db8e49c2ef80a8680b0c7a5ae8 100644 (file)
@@ -154,7 +154,7 @@ class ProjectsControllerTest < Test::Unit::TestCase
                :content => /#{2.days.ago.to_date.day}/,
                :sibling => { :tag => "dl",
                  :child => { :tag => "dt",
-                   :attributes => { :class => 'issue-edit' },
+                   :attributes => { :class => /issue-edit/ },
                    :child => { :tag => "a",
                      :content => /(#{IssueStatus.find(2).name})/,
                    }
@@ -170,7 +170,7 @@ class ProjectsControllerTest < Test::Unit::TestCase
                :content => /#{3.day.ago.to_date.day}/,
                :sibling => { :tag => "dl",
                  :child => { :tag => "dt",
-                   :attributes => { :class => 'issue' },
+                   :attributes => { :class => /issue/ },
                    :child => { :tag => "a",
                      :content => /#{Issue.find(1).subject}/,
                    }