]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/site_controller_test.rb
When overriding setup make sure to call the superclass
[rails.git] / test / controllers / site_controller_test.rb
index a2ea86f6f661c2c469a3c472dab5c197739e4c6b..c7826062ba52ba7aca177f3b4412df75c5135510 100644 (file)
@@ -4,6 +4,8 @@ class SiteControllerTest < ActionController::TestCase
   ##
   # setup oauth keys
   def setup
   ##
   # setup oauth keys
   def setup
+    super
+
     Settings.id_key = create(:client_application).key
     Settings.potlatch2_key = create(:client_application).key
 
     Settings.id_key = create(:client_application).key
     Settings.potlatch2_key = create(:client_application).key