Fix model tests
This commit is contained in:
parent
9304d049de
commit
e92b563acf
4 changed files with 13 additions and 13 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue