X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/037585db3933a2954b43bd4b30ea5e30ade00be2..5a0e0b2407823f501977d362ddc09664d9fa2f3f:/test/helpers/geocoder_helper_test.rb
diff --git a/test/helpers/geocoder_helper_test.rb b/test/helpers/geocoder_helper_test.rb
index e7ef18065..1be1b72a5 100644
--- a/test/helpers/geocoder_helper_test.rb
+++ b/test/helpers/geocoder_helper_test.rb
@@ -3,21 +3,21 @@ require "test_helper"
class GeocoderHelperTest < ActionView::TestCase
def test_result_to_html
html = result_to_html(:lat => 1.23, :lon => 4.56, :zoom => 16, :name => "Name")
- assert_dom_equal 'Name', html
+ assert_dom_equal 'Name', html
html = result_to_html(:lat => 1.23, :lon => 4.56, :zoom => 16, :prefix => "Prefix", :name => "Name")
- assert_dom_equal 'Prefix Name', html
+ assert_dom_equal 'Prefix Name', html
html = result_to_html(:lat => 1.23, :lon => 4.56, :zoom => 16, :name => "Name", :suffix => "Suffix")
- assert_dom_equal 'Name Suffix', html
+ assert_dom_equal 'Name Suffix', html
html = result_to_html(:lat => 1.23, :lon => 4.56, :zoom => 16, :prefix => "Prefix", :name => "Name", :suffix => "Suffix")
- assert_dom_equal 'Prefix Name Suffix', html
+ assert_dom_equal 'Prefix Name Suffix', html
html = result_to_html(:type => "node", :id => 123456, :name => "Name")
- assert_dom_equal 'Name', html
+ assert_dom_equal 'Name', html
html = result_to_html(:min_lat => 1.23, :max_lat => 4.56, :min_lon => -1.23, :max_lon => 2.34, :name => "Name")
- assert_dom_equal 'NameName