diff --git a/app/models/profile.rb b/app/models/profile.rb index 3eba59c..a60897a 100644 --- a/app/models/profile.rb +++ b/app/models/profile.rb @@ -76,6 +76,8 @@ class Profile < ActiveRecord::Base environment webmaster info + root + assets ] belongs_to :user diff --git a/test/unit/profile_test.rb b/test/unit/profile_test.rb index 1e3d5e6..440e367 100644 --- a/test/unit/profile_test.rb +++ b/test/unit/profile_test.rb @@ -126,6 +126,8 @@ class ProfileTest < Test::Unit::TestCase assert_invalid_identifier 'cat' assert_invalid_identifier 'webmaster' assert_invalid_identifier 'info' + assert_invalid_identifier 'root' + assert_invalid_identifier 'assets' end should 'provide recent documents' do -- libgit2 0.21.2