Add missing spec for "user has many playlists" association

This commit is contained in:
Thibault Jouan 2011-09-22 19:57:28 +00:00
parent 686162e270
commit d153755296

View File

@ -5,6 +5,7 @@ describe User do
let(:user) { Factory.build(:user) }
it { should be_valid }
it { should have_many :playlists }
it { should validate_presence_of :email }
it { should validate_presence_of :password }
it { should validate_presence_of :password_hash }