Sha256: c4ad14e7957dd1252564e0ae34fceda91e7052ae229bcb151ca143157cb1b7b5

Contents?: true

Size: 255 Bytes

Versions: 8

Compression:

Stored size: 255 Bytes

Contents

# encoding: UTF-8

require 'spec_helper'

Factory.define :garage do |garage|
  garage.sequence(:name) { |n| "name-#{n}" }
  garage.sequence(:location) { |n| "location-#{n}" }
end

Factory.define :car do |car|
  car.sequence(:name) { |n| "name-#{n}" }
end

Version data entries

8 entries across 8 versions & 2 rubygems

Version Path
watchmaker-0.2.2 spec/support/factories.rb
materializer-0.0.1 spec/support/factories.rb
watchmaker-0.2.1 spec/support/factories.rb
watchmaker-0.2.0 spec/support/factories.rb
watchmaker-0.1.2 spec/support/factories.rb
watchmaker-0.1.1 spec/support/factories.rb
watchmaker-0.1.0 spec/support/factories.rb
watchmaker-0.0.1 spec/support/factories.rb