]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/notes_controller_test.rb
Merge remote-tracking branch 'openstreetmap/pull/1347' into master
[rails.git] / test / controllers / notes_controller_test.rb
index 4b1d9f4ad68f424d88a3afee0cdf83807aecf3c6..ab63bbca2408a3938c9f4d58d9f6744c2a36c489 100644 (file)
@@ -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")