Fix model tests

This commit is contained in:
Dmitriy Zaporozhets 2012-11-23 20:53:24 +02:00
parent 9304d049de
commit e92b563acf
4 changed files with 13 additions and 13 deletions

View file

@ -18,7 +18,7 @@ describe Group do
it { should have_many :projects }
it { should validate_presence_of :name }
it { should validate_uniqueness_of(:name) }
it { should validate_presence_of :code }
it { should validate_uniqueness_of(:code) }
it { should validate_presence_of :path }
it { should validate_uniqueness_of(:path) }
it { should validate_presence_of :owner }
end