From 4602f0d6951206747997aede4d691c2a82632269 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Wed, 1 Aug 2007 18:48:32 +0000 Subject: [PATCH] ActionItem0: removing funcionality test from controller in application --- test/functional/edit_template_controller_test.rb | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/test/functional/edit_template_controller_test.rb b/test/functional/edit_template_controller_test.rb index 3a6b0ed..343812a 100644 --- a/test/functional/edit_template_controller_test.rb +++ b/test/functional/edit_template_controller_test.rb @@ -12,26 +12,10 @@ class EditTemplateControllerTest < Test::Unit::TestCase @controller = EditTemplateController.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new - @rejected_dirs = ['.', '..', '.svn'] - @theme_dir_path = "#{RAILS_ROOT}/public/themes" - @icons_dir_path = "#{RAILS_ROOT}/public/icons" end - def test_select_theme_html - get :index - available_themes = Dir.new(@theme_dir_path).to_a - @rejected_dirs - available_themes.collect do |t| - assert_tag :tag => 'select', :attributes => {:id => 'theme_name', :name => 'theme_name'}, :child => {:tag =>"option", :attributes => {:value => t}} - end - end - - - def test_select_icons_theme_html - get :index - available_icons = Dir.new(@icons_dir_path).to_a - @rejected_dirs - available_icons.collect do |t| - assert_tag :tag => 'select', :attributes => {:id => 'icons_theme_name', :name => 'icons_theme_name'}, :child => {:tag =>"option", :attributes => {:value => t}} - end + def test + flunk 'FIXME: nothing tested yet' end end -- libgit2 0.21.2