[openstreetmap/openstreetmap-website] Fix fixthemap note link (PR #5869)
Anton Khorev
notifications at github.com
Tue Apr 1 17:16:40 UTC 2025
@AntonKhorev commented on this pull request.
> @@ -0,0 +1,11 @@
+require "application_system_test_case"
+
+class FixthemapTest < ApplicationSystemTestCase
+ test "should have 'create a note' link with correct map hash" do
+ visit fixthemap_path(:lat => 60, :lon => 30, :zoom => 10)
+
+ within_content_body do
+ assert_link "Add a note to the map", :href => %r{/note/new#map=10/60\.\d+/30\.\d+}
updated
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/5869#discussion_r2023312859
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/openstreetmap-website/pull/5869/review/2733462251 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/rails-dev/attachments/20250401/a0389110/attachment.htm>
More information about the rails-dev
mailing list