Commit bac820e8a09954347309240c935e4dc50de6df2b
1 parent
3241a772
Exists in
staging
and in
42 other branches
ActionItem93: still removing unused stuff
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1061 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
0 additions
and
27 deletions
Show diff stats
test/integration/register_enterprise_test.rb
... | ... | @@ -1,27 +0,0 @@ |
1 | -require "#{File.dirname(__FILE__)}/../test_helper" | |
2 | - | |
3 | -class RegisterEnterpriseTest < ActionController::IntegrationTest | |
4 | - all_fixtures | |
5 | - | |
6 | - def test_register_new_enterprise | |
7 | - get '/myprofile/ze/membership_editor' | |
8 | - assert_response :redirect | |
9 | - | |
10 | - login('ze','test') | |
11 | - | |
12 | - get '/myprofile/ze/membership_editor' | |
13 | - assert_response :success | |
14 | - assert_tag :tag => 'a', :attributes => {:href => '/myprofile/ze/membership_editor/new_enterprise'} | |
15 | - | |
16 | - get '/myprofile/ze/membership_editor/new_enterprise' | |
17 | - assert_response :success | |
18 | - assert_tag :tag => 'input', :attributes => {:name => 'enterprise[name]'} | |
19 | - assert_tag :tag => 'input', :attributes => {:name => 'enterprise[identifier]'} | |
20 | - | |
21 | - post '/myprofile/ze/membership_editor/create_enterprise', :enterprise => {'name' => 'new_enterprise', 'identifier' => 'enterprise_new'} | |
22 | - assert_response :redirect | |
23 | - | |
24 | - follow_redirect! | |
25 | - assert_response :success | |
26 | - end | |
27 | -end |