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