3 latitude { 1 * GeoRecord::SCALE }
4 longitude { 1 * GeoRecord::SCALE }
5 # tile { QuadTile.tile_for_point(1,1) }
13 closed_at { Time.now.utc }
15 after(:create) do |note, context|
16 create(:note_comment, :author => context.closed_by, :body => "Closing comment", :event => "closed", :note => note)
20 factory :note_with_comments do
25 after(:create) do |note, evaluator|
26 create_list(:note_comment, evaluator.comments_count, :note => note)