1 # frozen_string_literal: true
3 require "application_system_test_case"
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)
10 assert_link "Add a note to the map", :href => %r{/note/new#map=10/60(\.\d+)?/30(\.\d+)?}