From 5ad505de2608c380b5df8b36a404be31dbd14d6d Mon Sep 17 00:00:00 2001 From: AntonioTerceiro Date: Thu, 13 Mar 2008 17:54:26 +0000 Subject: [PATCH] ActionItem237: adding new reserved identifiers --- 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 764a38c..01a93a3 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -52,6 +52,8 @@ class Profile < ActiveRecord::Base cat tag environment + webmaster + info ] belongs_to :user diff --git a/test/unit/profile_test.rb b/test/unit/profile_test.rb index 95720dc..5dfb8da 100644 --- a/test/unit/profile_test.rb +++ b/test/unit/profile_test.rb @@ -128,6 +128,8 @@ class ProfileTest < Test::Unit::TestCase assert_invalid_identifier 'test' assert_invalid_identifier 'tag' assert_invalid_identifier 'cat' + assert_invalid_identifier 'webmaster' + assert_invalid_identifier 'info' end should 'provide recent documents' do -- libgit2 0.21.2