summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-05 16:04:21 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-01-05 16:04:21 +0000
commit6ed7e091dfc833830ccd0e689714913c81ef6d22 (patch)
treef545e544fc349c4d16b6ba37271c87558b5bcb5a /test
parent7c2490c6fc9230fdcea7b4ccdd82648a818a9bbf (diff)
downloadredmine-6ed7e091dfc833830ccd0e689714913c81ef6d22.tar.gz
redmine-6ed7e091dfc833830ccd0e689714913c81ef6d22.zip
Adjust test for r11120 (#3436).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11123 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/functional/gantts_controller_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/gantts_controller_test.rb b/test/functional/gantts_controller_test.rb
index 41b71d773..db27ac0b4 100644
--- a/test/functional/gantts_controller_test.rb
+++ b/test/functional/gantts_controller_test.rb
@@ -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