]> git.openstreetmap.org Git - rails.git/blob - test/system/browse_test.rb
Update arguments of data overlay interestingNode()
[rails.git] / test / system / browse_test.rb
1 require "application_system_test_case"
2
3 class BrowseTest < ApplicationSystemTestCase
4   test "relation member nodes should be visible on the map when viewing relations" do
5     relation = create(:relation)
6     node = create(:node)
7     create(:relation_member, :relation => relation, :member => node)
8
9     visit relation_path(relation)
10
11     assert_selector "#map .leaflet-overlay-pane path"
12   end
13 end