]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/api/notes_controller_test.rb
When overriding setup make sure to call the superclass
[rails.git] / test / controllers / api / notes_controller_test.rb
index 5f449f0d6ddc1b8769675ab738d2fe8b602443f5..54a20028de33846cfee627ca23769708d280e9b0 100644 (file)
@@ -3,6 +3,7 @@ require "test_helper"
 module Api
   class NotesControllerTest < ActionController::TestCase
     def setup
+      super
       # Stub nominatim response for note locations
       stub_request(:get, %r{^https://nominatim\.openstreetmap\.org/reverse\?})
         .to_return(:status => 404)