Commit 8474d05e authored by Jean-Philippe Lang's avatar Jean-Philippe Lang

Fixes test broken by r1578.

git-svn-id: http://redmine.rubyforge.org/svn/trunk@1581 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 3121e0b5
......@@ -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}/,
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment