From 8474d05e9994d947d862691751c6b5fa110f6754 2008-06-24 16:49:51 From: Jean-Philippe Lang Date: 2008-06-24 16:49:51 Subject: [PATCH] Fixes test broken by r1578. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1581 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index d4ce97d..5b7c29b 100644 --- a/test/functional/projects_controller_test.rb +++ b/test/functional/projects_controller_test.rb @@ -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}/, }