X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/b954416a70fb167b9cae0a3937de16bd9a93d239..8da385e0db1d56a5cfc1d7355960f43ab8958927:/test/controllers/site_controller_test.rb diff --git a/test/controllers/site_controller_test.rb b/test/controllers/site_controller_test.rb index 608263643..a4388ef6c 100644 --- a/test/controllers/site_controller_test.rb +++ b/test/controllers/site_controller_test.rb @@ -241,7 +241,7 @@ class SiteControllerTest < ActionController::TestCase # Test editing a specific node def test_edit_with_node user = create(:user) - node = current_nodes(:visible_node) + node = create(:node, :lat => 1.0, :lon => 1.0) get :edit, { :node => node.id }, { :user => user } assert_response :success