Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
27 lines (19 sloc) 262 Bytes
FactoryGirl.define do
sequence :age do |n|
n.to_i
end
sequence :rating do |n|
n.to_f
end
factory :comment do
association :user
end
factory :mammal do
end
factory :post do
end
factory :user do
age
rating
end
end
Something went wrong with that request. Please try again.