]> source.dussan.org Git - redmine.git/commitdiff
Fixes assertion.
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 3 Dec 2011 18:21:00 +0000 (18:21 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 3 Dec 2011 18:21:00 +0000 (18:21 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8060 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/issues_controller_test.rb

index a847e99821987fa06060f59dc348505dc43ab185..f054e13e4cc44b5ee235925d42018b7001547dde 100644 (file)
@@ -774,7 +774,7 @@ class IssuesControllerTest < ActionController::TestCase
     get :show, :id => 1
     assert_response :success
     assert_tag 'div', :attributes => {:id => 'issue_tree'},
-      :descendant => {:tag => 'td', :content => /Child Issue/, :class => /subject/}
+      :descendant => {:tag => 'td', :content => /Child Issue/, :attributes => {:class => /subject/}}
   end
 
   def test_show_atom