tests fix

This commit is contained in:
Andrey Kumanyaev 2012-10-09 04:10:16 +04:00
parent df7c52489a
commit a4cd738686
7 changed files with 10 additions and 10 deletions

View file

@ -20,5 +20,5 @@ describe Group do
it { should validate_uniqueness_of(:name) }
it { should validate_presence_of :code }
it { should validate_uniqueness_of(:code) }
it { should validate_presence_of :owner_id }
it { should validate_presence_of :owner }
end