Use factory_girl_rails for factories

This commit is contained in:
Thibault Jouan
2011-07-25 22:08:45 +00:00
parent 6af96b0f75
commit 47fa969617
8 changed files with 35 additions and 35 deletions

9
spec/factories.rb Normal file
View File

@@ -0,0 +1,9 @@
FactoryGirl.define do
factory :playlist do
name 'Electro'
end
factory :track do
name 'Mega song'
end
end