FactoryGirl.define do
  factory :placemark do
      title "A Title"
      subtitle "A Subtitle"
      teaser "Some teasing *text*."
      content "Some *very* good _written_ content."
      comment "A comment on this placemarks"
      image { File.open(File.join(Rails.root, 'spec', 'factories', 'files', 'test.png')) }
      source "Source"
      url "http://www.domain.com"
      geo_relation "Mexiko, Peru, Namibia, Indien"
      lon "53.5559"      
      lat "10.0"
      address "Address"
      district "District"
      zip "123456"
      city "City"
      association :user
      association :layer
      public true
      created_at "2011-01-01"
      updated_at "2011-01-01"
      layer_id 1
    end
end
