Commit 25342dc327b948c9cd755bd01ab10e3f0ac06a24

Authored by AntonioTerceiro
1 parent 9ae4be90

ActionItem31: reserving identifiers for specific tags



git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1017 3f533792-8f58-4932-b0fe-aaf55b0a4547
app/models/profile.rb
... ... @@ -31,6 +31,8 @@ class Profile < ActiveRecord::Base
31 31 test
32 32 search
33 33 not_found
  34 + cat
  35 + tag
34 36 ]
35 37  
36 38 acts_as_taggable
... ...
test/unit/profile_test.rb
... ... @@ -117,6 +117,8 @@ class ProfileTest < Test::Unit::TestCase
117 117 assert_invalid_identifier 'cms'
118 118 assert_invalid_identifier 'community'
119 119 assert_invalid_identifier 'test'
  120 + assert_invalid_identifier 'tag'
  121 + assert_invalid_identifier 'cat'
120 122 end
121 123  
122 124 should 'provide recent documents' do
... ...