summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2008-06-24 16:49:51 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2008-06-24 16:49:51 +0000
commit8474d05e9994d947d862691751c6b5fa110f6754 (patch)
treec375189971b7002b0de6897b3a3e7f39cefc9ded /test
parent3121e0b5d0d7f985ca8ff329804cb0b5c83cb915 (diff)
downloadredmine-8474d05e9994d947d862691751c6b5fa110f6754.tar.gz
redmine-8474d05e9994d947d862691751c6b5fa110f6754.zip
Fixes test broken by r1578.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1581 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/projects_controller_test.rb4
1 files 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}/,
}