From 25342dc327b948c9cd755bd01ab10e3f0ac06a24 Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Sat, 1 Dec 2007 20:53:22 +0000 Subject: [PATCH] ActionItem31: reserving identifiers for specific tags --- app/models/profile.rb | 2 ++ test/unit/profile_test.rb | 2 ++ 2 files changed, 4 insertions(+), 0 deletions(-) diff --git a/app/models/profile.rb b/app/models/profile.rb index f067173..5f26178 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -31,6 +31,8 @@ class Profile < ActiveRecord::Base test search not_found + cat + tag ] acts_as_taggable diff --git a/test/unit/profile_test.rb b/test/unit/profile_test.rb index befb988..0a9bcea 100644 --- a/test/unit/profile_test.rb +++ b/test/unit/profile_test.rb @@ -117,6 +117,8 @@ class ProfileTest < Test::Unit::TestCase assert_invalid_identifier 'cms' assert_invalid_identifier 'community' assert_invalid_identifier 'test' + assert_invalid_identifier 'tag' + assert_invalid_identifier 'cat' end should 'provide recent documents' do -- libgit2 0.21.2