From f271ac234583ce5a6edfc396a9c884b05eb143c7 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Thu, 19 Jul 2007 19:34:26 +0000 Subject: [PATCH] ActionItem9: refactoring to remove acts_as_configurable: a little imature and no feedback from upstream about patches sent --- test/unit/virtual_community_test.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/unit/virtual_community_test.rb b/test/unit/virtual_community_test.rb index fa520a6..327f727 100644 --- a/test/unit/virtual_community_test.rb +++ b/test/unit/virtual_community_test.rb @@ -19,11 +19,10 @@ class VirtualCommunityTest < Test::Unit::TestCase def test_acts_as_configurable vc = VirtualCommunity.new(:name => 'Testing VirtualCommunity') - assert_kind_of Array, vc.settings + assert_kind_of Hash, vc.settings vc.settings[:some_setting] = 1 assert vc.save assert_equal 1, vc.settings[:some_setting] - assert_kind_of ConfigurableSetting, vc.settings.first end def test_available_features -- libgit2 0.21.2