]> git.openstreetmap.org Git - rails.git/blobdiff - test/test_helper.rb
Just pass the user object, rather than the display_name, to the user_path helper
[rails.git] / test / test_helper.rb
index 688cbc113afc4810d3f64e79af494ff7753088ad..83cf909dd94f208c5b89c20e024f8e6941e040f4 100644 (file)
@@ -6,6 +6,8 @@ require_relative "../config/environment"
 require "rails/test_help"
 require "webmock/minitest"
 
+WebMock.disable_net_connect!(:allow_localhost => true)
+
 module ActiveSupport
   class TestCase
     include FactoryBot::Syntax::Methods