]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/redactions_controller_test.rb
Create a redaction object before testing the index page lists it.
[rails.git] / test / controllers / redactions_controller_test.rb
index 5a72830e4805c85ff39f03aefaad4e5be4ce2cfa..750f7c9d143212a993b5ff20ef4c3f8a1edfe8cc 100644 (file)
@@ -2,8 +2,6 @@ require "test_helper"
 require "redactions_controller"
 
 class RedactionsControllerTest < ActionController::TestCase
-  api_fixtures
-
   ##
   # test all routes which lead to this controller
   def test_routes
@@ -38,6 +36,8 @@ class RedactionsControllerTest < ActionController::TestCase
   end
 
   def test_index
+    create(:redaction)
+
     get :index
     assert_response :success
     assert_template :index