From 8474d05e9994d947d862691751c6b5fa110f6754 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Tue, 24 Jun 2008 16:49:51 +0000 Subject: [PATCH] Fixes test broken by r1578. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1581 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/functional/projects_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/projects_controller_test.rb b/test/functional/projects_controller_test.rb index d4ce97dc2..5b7c29b18 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}/, }