X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b8c80bae2d5b23e67cd7d6c2d2a4ae3df337101f..0814b4096c443e2ab3c09baa058aa81a00d205d1:/test/controllers/notes_controller_test.rb diff --git a/test/controllers/notes_controller_test.rb b/test/controllers/notes_controller_test.rb index 4b1d9f4ad..ab63bbca2 100644 --- a/test/controllers/notes_controller_test.rb +++ b/test/controllers/notes_controller_test.rb @@ -545,7 +545,7 @@ class NotesControllerTest < ActionController::TestCase assert_select "time", :count => 1 assert_select "name", "Note: #{open_note.id}" assert_select "desc", :count => 1 - assert_select "link[href='http://www.openstreetmap.org/note/#{open_note.id}']", :count => 1 + assert_select "link[href='http://test.host/note/#{open_note.id}']", :count => 1 assert_select "extensions", :count => 1 do assert_select "id", open_note.id.to_s assert_select "url", note_url(open_note, :format => "gpx")