Commit
ea760cb1734d015c382fb79ffb7b794a00c3925f
Exists in
master
and in
23 other branches
activate_plugin, api_fixies, api_tasks, article_blog_visualization_format, article_layout_refactoring, article_layout_temp, blog_page_bug, clone_article, communities_ratings, design_template, event_layout, fix_forum, fix_optional_fields, fix_suggest_article, folder_improvments, manage_organization, merge_deactive_and_ban, news_page, script_to_update, stable, template_mirror_block, tests, tests_fixies
ActionItem41: adding model for Community
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1270 3f533792-8f58-4932-b0fe-aaf55b0a4547
| @@ -0,0 +1,2 @@ |
| @@ -0,0 +1,2 @@ |
| |
1
| +class Community < Profile |
| |
2
| +end |
| @@ -0,0 +1,9 @@ |
| @@ -0,0 +1,9 @@ |
| |
1
| +require File.dirname(__FILE__) + '/../test_helper' |
| |
2
| + |
| |
3
| +class CommunityTest < Test::Unit::TestCase |
| |
4
| + |
| |
5
| + should 'inherit from Profile' do |
| |
6
| + assert_kind_of Profile, Community.new |
| |
7
| + end |
| |
8
| + |
| |
9
| +end |