Commit 1bfe3c11c5f35fac772492254b2cb0abf5fd4e78
1 parent
50267ca4
Exists in
master
and in
29 other branches
ActionItem392: adding new reserved identifiers
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@2025 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
2 changed files
with
4 additions
and
0 deletions
Show diff stats
app/models/profile.rb
test/unit/profile_test.rb
@@ -126,6 +126,8 @@ class ProfileTest < Test::Unit::TestCase | @@ -126,6 +126,8 @@ class ProfileTest < Test::Unit::TestCase | ||
126 | assert_invalid_identifier 'cat' | 126 | assert_invalid_identifier 'cat' |
127 | assert_invalid_identifier 'webmaster' | 127 | assert_invalid_identifier 'webmaster' |
128 | assert_invalid_identifier 'info' | 128 | assert_invalid_identifier 'info' |
129 | + assert_invalid_identifier 'root' | ||
130 | + assert_invalid_identifier 'assets' | ||
129 | end | 131 | end |
130 | 132 | ||
131 | should 'provide recent documents' do | 133 | should 'provide recent documents' do |