Region name is no longer used for geocoding...

This commit is contained in:
echarp 2016-01-30 19:09:20 +01:00
parent 2104f145cf
commit bd55a2f911

View File

@ -116,7 +116,8 @@ class EventTest < ActiveSupport::TestCase
test 'full address' do test 'full address' do
@event.address = 'hello' @event.address = 'hello'
@event.city = 'world' @event.city = 'world'
@event.region.name = 'all' # Region is no longer used for geocoding..;
assert_equal 'hello, world, all', @event.full_address # @event.region.name = 'all'
assert_equal 'hello, world', @event.full_address
end end
end end