]> source.dussan.org Git - redmine.git/commitdiff
Adjust test for r11120 (#3436).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 5 Jan 2013 16:04:21 +0000 (16:04 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 5 Jan 2013 16:04:21 +0000 (16:04 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11123 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/gantts_controller_test.rb

index 41b71d773bcc7f9ecea4267208feed67bff0e010..db27ac0b4936037c203228cd87aeb46bb9f31d80 100644 (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