Update arguments of data overlay interestingNode()

This commit is contained in:
Anton Khorev 2025-01-07 11:26:15 +03:00
parent f946797520
commit 937d461106
2 changed files with 15 additions and 4 deletions

View file

@ -0,0 +1,13 @@
require "application_system_test_case"
class BrowseTest < ApplicationSystemTestCase
test "relation member nodes should be visible on the map when viewing relations" do
relation = create(:relation)
node = create(:node)
create(:relation_member, :relation => relation, :member => node)
visit relation_path(relation)
assert_selector "#map .leaflet-overlay-pane path"
end
end