Commit 16352f49010b040e8bc1012b5946d83b7a8c2640

Authored by AntonioTerceiro
1 parent 4c36665c

ActionItem14: removing stuff from enterprise, part n + 1


git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@680 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 0 additions and 23 deletions   Show diff stats
test/unit/enterprise_test.rb
... ... @@ -46,27 +46,4 @@ class EnterpriseTest < Test::Unit::TestCase
46 46 end
47 47 end
48 48  
49   - def test_approve
50   - e = Enterprise.create(:identifier => 'bli', :name => 'Bli')
51   - assert !e.approved?
52   - e.approve
53   - assert e.approved?
54   - end
55   -
56   - def test_reject
57   - e = Enterprise.create(:identifier => 'bli', :name => 'Bli')
58   - assert !e.rejected?
59   - e.reject
60   - assert e.rejected?
61   - end
62   -
63   -# def test_cannot_be_activated_without_approval
64   -# e = Enterprise.create(:identifier => 'bli', :name => 'Bli')
65   -# assert !e.approved
66   -# e.activate
67   -# assert !e.valid?
68   -# e.approve
69   -# e.activate
70   -# assert e.valid?
71   -# end
72 49 end
... ...