3 latitude { 1 * GeoRecord::SCALE }
4 longitude { 1 * GeoRecord::SCALE }
5 # tile { QuadTile.tile_for_point(1,1) }
9 closed_at { Time.now.utc }
11 after(:create) do |note|
12 create(:note_comment, :body => "Closing comment", :event => "closed", :note => note)
16 factory :note_with_comments do
21 after(:create) do |note, evaluator|
22 create_list(:note_comment, evaluator.comments_count, :note => note)