Commit 16b7609ededc1824a8c3cf1455f7780ece7682da

Authored by Victor Costa
1 parent 73a5446e

Fix community track tests

plugins/community_track/test/functional/community_track_plugin_content_viewer_controller_test.rb
... ... @@ -45,7 +45,7 @@ class ContentViewerControllerTest < ActionController::TestCase
45 45  
46 46 should 'display steps for tracks' do
47 47 get :view_page, @track.url
48   - assert_tag :tag => 'ul', :attributes => { :id => 'sortable' }, :descendant => {:tag => 'li', :attributes => { :class => 'step' } }
  48 + assert_tag :tag => 'ul', :attributes => { :id => 'sortable' }, :descendant => {:tag => 'li', :attributes => { :class => 'step step_active' } }
49 49 end
50 50  
51 51 should 'display hidden field with step id' do
... ...
plugins/community_track/views/content_viewer/track.rhtml
... ... @@ -40,4 +40,3 @@
40 40 <% end %>
41 41 </div>
42 42 <% end %>
43   -</div>
... ...