spec/helpers/make_helpers.rb
def make_private_observation(options = {})
    Observation.make!(options.merge(
      :latitude => 38.888, :longitude => -122.222, 
      :geoprivacy => Observation::PRIVATE, 
      :created_at => Time.now.to_date
    ))
  end
# It's important that the lat & lon don't show up in the date when doing 
# simple regex tests
It's important that the lat & lon don't show up in the date when doing
simple regex tests
It ' s important that the lat & lon don ' t show up in the date when doing simple regex tests
def make_private_observation(options = {})
    Observation.make!(options.merge(
      :latitude => 38.888, :longitude => -122.222, 
      :geoprivacy => Observation::PRIVATE, 
      :created_at => Time.now.to_date
    ))
  end
def make_private_observation ( options = { } ) Observation . make! ( options . merge ( :latitude => 38.888 , :longitude => - 122.222 , :geoprivacy => Observation :: PRIVATE , :created_at => Time . now . to_date ) ) end
It's important that the lat & lon don't show up in the date when doing
simple regex tests
It ' s important that the lat & lon don ' t show up in the date when doing simple regex tests
options