Sha256: 46872dfb929f17568633b2c9d71cbebe553c32d6fd7b5ee89d4778ad8c6ceff8
Contents?: true
Size: 330 Bytes
Versions: 4
Compression:
Stored size: 330 Bytes
Contents
FactoryGirl.define do factory :country do sequence(:name) { |s| "Country #{s}" } end factory :city do sequence(:name) { |s| "City #{s}" } country end factory :street do sequence(:name) { |s| "Street #{s}" } city end factory :language do sequence(:name) { |s| "Language #{s}" } end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
dynamic_controller-0.0.12 | spec/factories.rb |
dynamic_controller-0.0.11 | spec/factories.rb |
dynamic_controller-0.0.10 | spec/factories.rb |
dynamic_controller-0.0.9 | spec/factories.rb |