Commit c973762c78fcbd61b21d6c4aac94d0e26cd2e4ac
Committed by
Daniela Feitosa
1 parent
064f925b
Exists in
master
and in
29 other branches
Don't allow profiles named 'plugin'
Showing
2 changed files
with
2 additions
and
0 deletions
Show diff stats
app/models/profile.rb
test/unit/profile_test.rb
| ... | ... | @@ -131,6 +131,7 @@ class ProfileTest < Test::Unit::TestCase |
| 131 | 131 | assert_invalid_identifier 'info' |
| 132 | 132 | assert_invalid_identifier 'root' |
| 133 | 133 | assert_invalid_identifier 'assets' |
| 134 | + assert_invalid_identifier 'plugin' | |
| 134 | 135 | end |
| 135 | 136 | |
| 136 | 137 | should 'provide recent documents' do | ... | ... |