From 5e12aad317b08b75920c7db9af3b0c8e5311b4a1 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Sun, 4 Oct 2009 17:48:08 -0300 Subject: [PATCH] ActionItem1218: fixing test --- test/functional/admin_panel_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/functional/admin_panel_controller_test.rb b/test/functional/admin_panel_controller_test.rb index d386517..8bfc133 100644 --- a/test/functional/admin_panel_controller_test.rb +++ b/test/functional/admin_panel_controller_test.rb @@ -134,10 +134,10 @@ class AdminPanelControllerTest < Test::Unit::TestCase politics = Folder.create!(:profile => new, :name => 'politics news') post :set_portal_community, :portal_community_identifier => new.identifier + assert_redirected_to :action => 'set_portal_folders' + get :set_portal_folders - follow_redirect! assert_tag :tag => 'div', :attributes => {:id => 'available-folders'}, :descendant => {:tag => 'option', :attributes => {:value => politics.id}, :content => politics.name} - end [local, tech].each do |folder| assert_no_tag :tag => 'div', :attributes => {:id => 'available-folders'}, :descendant => {:tag => 'option', :attributes => {:value => folder.id}, :content => folder.name} -- libgit2 0.21.2