Commit d8dd8acab8f2900b13051939c0549a3b06bbdf25
1 parent
e9584878
Exists in
master
and in
29 other branches
ActionItem3: testing the mock features
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@92 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
4 additions
and
0 deletions
Show diff stats
test/unit/virtual_community_test.rb
... | ... | @@ -30,6 +30,10 @@ class VirtualCommunityTest < Test::Unit::TestCase |
30 | 30 | assert_kind_of Hash, VirtualCommunity.available_features |
31 | 31 | end |
32 | 32 | |
33 | + def test_mock | |
34 | + assert_equal ['feature1', 'feature2', 'feature3'], VirtualCommunity.available_features.keys.sort | |
35 | + end | |
36 | + | |
33 | 37 | def test_features |
34 | 38 | v = virtual_communities(:colivre_net) |
35 | 39 | v.enable('feature1') | ... | ... |