Sha256: 8c9fa8efe2af951fe39a19070deb3a70eb27f29a41d7d0fd4e2916af8f5e3f03

Contents?: true

Size: 268 Bytes

Versions: 5

Compression:

Stored size: 268 Bytes

Contents

FactoryGirl.define do
  factory :place do  
        
    trait :paris do
      address "Paris, France"
    end
        
    trait :invalid do
      address "home"
    end
    
    address "Toulon, France"
    
    factory :place_paris,    :traits => [:paris]
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gmaps4rails-1.5.7 spec/factories/place_factory.rb
gmaps4rails-2.0.0.pre spec/factories/place_factory.rb
gmaps4rails-1.5.6 spec/factories/place_factory.rb
gmaps4rails-1.5.5 spec/factories/place_factory.rb
gmaps4rails-1.5.4 spec/factories/place_factory.rb