Commit 5e12aad317b08b75920c7db9af3b0c8e5311b4a1

Authored by Antonio Terceiro
1 parent c4614365

ActionItem1218: fixing test

test/functional/admin_panel_controller_test.rb
... ... @@ -134,10 +134,10 @@ class AdminPanelControllerTest < Test::Unit::TestCase
134 134 politics = Folder.create!(:profile => new, :name => 'politics news')
135 135  
136 136 post :set_portal_community, :portal_community_identifier => new.identifier
  137 + assert_redirected_to :action => 'set_portal_folders'
  138 + get :set_portal_folders
137 139  
138   - follow_redirect!
139 140 assert_tag :tag => 'div', :attributes => {:id => 'available-folders'}, :descendant => {:tag => 'option', :attributes => {:value => politics.id}, :content => politics.name}
140   - end
141 141  
142 142 [local, tech].each do |folder|
143 143 assert_no_tag :tag => 'div', :attributes => {:id => 'available-folders'}, :descendant => {:tag => 'option', :attributes => {:value => folder.id}, :content => folder.name}
... ...