Adjust test for r11120 (#3436).

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11123 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2013-01-05 16:04:21 +00:00
parent 7c2490c6fc
commit 6ed7e091df
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ class GanttsControllerTest < ActionController::TestCase
assert_kind_of Hash, relations
assert relations.present?
assert_select 'div.task_todo[id=?][data-rels*=?]', "task-todo-issue-#{issue1.id}", issue2.id.to_s
assert_select 'div.task_todo[id=?][data-rels=?]', "task-todo-issue-#{issue2.id}", '{}'
assert_select 'div.task_todo[id=?]:not([data-rels])', "task-todo-issue-#{issue2.id}"
end
def test_gantt_should_export_to_pdf