From b88674da42465b9271af817c2b442feee736ba98 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Sun, 2 Dec 2007 03:58:05 +0000 Subject: [PATCH] ActionItem121: removing what should be removed anyway --- test/integration/edit_enterprise_test.rb | 31 ------------------------------- 1 file changed, 0 insertions(+), 31 deletions(-) delete mode 100644 test/integration/edit_enterprise_test.rb diff --git a/test/integration/edit_enterprise_test.rb b/test/integration/edit_enterprise_test.rb deleted file mode 100644 index a55f3c2..0000000 --- a/test/integration/edit_enterprise_test.rb +++ /dev/null @@ -1,31 +0,0 @@ -require "#{File.dirname(__FILE__)}/../test_helper" - -class EditEnterpriseTest < ActionController::IntegrationTest - all_fixtures - def test_edit_an_enterprise - get '/myprofile/colivre/enterprise_editor' - assert_response :success - - login('ze', 'test') - - get '/myprofile/colivre/profile_editor' - assert_response :success - assert_tag :tag => 'a', :attributes => { :href => '/myprofile/colivre/enterprise_editor'} - - get '/myprofile/colivre/enterprise_editor' - assert_response :success - assert_tag :tag => 'a', :attributes => {:href => '/myprofile/colivre/enterprise_editor/edit/5'} - - get '/myprofile/colivre/enterprise_editor/edit/5' - assert_response :success - assert_tag :tag => 'input', :attributes => {:name => 'enterprise[name]'} - - post '/myprofile/colivre/enterprise_editor/update/5', :enterprise => {'name' => 'new_name'} - assert_response :redirect - - follow_redirect! - assert_response :success - assert_equal '/myprofile/colivre/enterprise_editor', path - - end -end -- libgit2 0.21.2