]> git.openstreetmap.org Git - rails.git/blob - test/system/fixthemap_test.rb
Add frozen_string_literal comments to ruby files
[rails.git] / test / system / fixthemap_test.rb
1 # frozen_string_literal: true
2
3 require "application_system_test_case"
4
5 class FixthemapTest < ApplicationSystemTestCase
6   test "should have 'create a note' link with correct map hash" do
7     visit fixthemap_path(:lat => 60, :lon => 30, :zoom => 10)
8
9     within_content_body do
10       assert_link "Add a note to the map", :href => %r{/note/new#map=10/60(\.\d+)?/30(\.\d+)?}
11     end
12   end
13 end