Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 4509b17c80
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (25 sloc) 0.725 kB
Factory.define(:analyst) do |f|
f.sequence(:name) { |n| "Name#{n}"}
end
Factory.define(:computer) do |f|
f.sequence(:name) { |n| "Name#{n}"}
f.programmer_id {|a| a.association(:programmer) }
end
Factory.define(:document) do |f|
f.sequence(:name) { |n| "Name#{n}"}
end
Factory.define(:document_store) do |f|
f.sequence(:name) { |n| "Name#{n}"}
f.document_id {|a| a.association(:document) }
f.analyst_id {|a| a.association(:analyst) }
end
Factory.define(:programmer) do |f|
f.sequence(:name) { |n| "Name#{n}"}
end
Factory.define(:project) do |f|
f.sequence(:name) { |n| "Name#{n}"}
end
Factory.define(:task) do |f|
f.sequence(:name) { |n| "Name#{n}"}
f.project_id {|a| a.association(:project) }
end
Jump to Line
Something went wrong with that request. Please try again.