From 16b7609ededc1824a8c3cf1455f7780ece7682da Mon Sep 17 00:00:00 2001 From: Victor Costa Date: Wed, 27 Nov 2013 13:11:33 -0300 Subject: [PATCH] Fix community track tests --- plugins/community_track/test/functional/community_track_plugin_content_viewer_controller_test.rb | 2 +- plugins/community_track/views/content_viewer/track.rhtml | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/plugins/community_track/test/functional/community_track_plugin_content_viewer_controller_test.rb b/plugins/community_track/test/functional/community_track_plugin_content_viewer_controller_test.rb index 5684718..5ea9fec 100644 --- a/plugins/community_track/test/functional/community_track_plugin_content_viewer_controller_test.rb +++ b/plugins/community_track/test/functional/community_track_plugin_content_viewer_controller_test.rb @@ -45,7 +45,7 @@ class ContentViewerControllerTest < ActionController::TestCase should 'display steps for tracks' do get :view_page, @track.url - assert_tag :tag => 'ul', :attributes => { :id => 'sortable' }, :descendant => {:tag => 'li', :attributes => { :class => 'step' } } + assert_tag :tag => 'ul', :attributes => { :id => 'sortable' }, :descendant => {:tag => 'li', :attributes => { :class => 'step step_active' } } end should 'display hidden field with step id' do diff --git a/plugins/community_track/views/content_viewer/track.rhtml b/plugins/community_track/views/content_viewer/track.rhtml index 5db477a..be2c0fa 100644 --- a/plugins/community_track/views/content_viewer/track.rhtml +++ b/plugins/community_track/views/content_viewer/track.rhtml @@ -40,4 +40,3 @@ <% end %> <% end %> - -- libgit2 0.21.2