Commit f271ac234583ce5a6edfc396a9c884b05eb143c7
1 parent
ed789b83
Exists in
master
and in
28 other branches
ActionItem9: refactoring to remove acts_as_configurable: a little imature and no…
… feedback from upstream about patches sent git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@106 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
1 additions
and
2 deletions
Show diff stats
test/unit/virtual_community_test.rb
... | ... | @@ -19,11 +19,10 @@ class VirtualCommunityTest < Test::Unit::TestCase |
19 | 19 | |
20 | 20 | def test_acts_as_configurable |
21 | 21 | vc = VirtualCommunity.new(:name => 'Testing VirtualCommunity') |
22 | - assert_kind_of Array, vc.settings | |
22 | + assert_kind_of Hash, vc.settings | |
23 | 23 | vc.settings[:some_setting] = 1 |
24 | 24 | assert vc.save |
25 | 25 | assert_equal 1, vc.settings[:some_setting] |
26 | - assert_kind_of ConfigurableSetting, vc.settings.first | |
27 | 26 | end |
28 | 27 | |
29 | 28 | def test_available_features | ... | ... |