From ea760cb1734d015c382fb79ffb7b794a00c3925f Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Mon, 28 Jan 2008 12:54:25 +0000 Subject: [PATCH] ActionItem41: adding model for Community --- app/models/community.rb | 2 ++ test/unit/community_test.rb | 9 +++++++++ 2 files changed, 11 insertions(+), 0 deletions(-) create mode 100644 app/models/community.rb create mode 100644 test/unit/community_test.rb diff --git a/app/models/community.rb b/app/models/community.rb new file mode 100644 index 0000000..b3b19af --- /dev/null +++ b/app/models/community.rb @@ -0,0 +1,2 @@ +class Community < Profile +end diff --git a/test/unit/community_test.rb b/test/unit/community_test.rb new file mode 100644 index 0000000..930a1b1 --- /dev/null +++ b/test/unit/community_test.rb @@ -0,0 +1,9 @@ +require File.dirname(__FILE__) + '/../test_helper' + +class CommunityTest < Test::Unit::TestCase + + should 'inherit from Profile' do + assert_kind_of Profile, Community.new + end + +end -- libgit2 0.21.2