]> git.openstreetmap.org Git - rails.git/blobdiff - test/controllers/changeset_controller_test.rb
use a controller method to handle cancan denials
[rails.git] / test / controllers / changeset_controller_test.rb
index 38d6ac162ce1e648170b842dfa3ec9e64fe7c79f..e8fde7c92cd73594852716c26733945f5d116b8a 100644 (file)
@@ -557,7 +557,7 @@ CHANGESET
   end
 
   def test_repeated_changeset_create
   end
 
   def test_repeated_changeset_create
-    30.times do
+    3.times do
       basic_authorization create(:user).email, "test"
 
       # create a temporary changeset
       basic_authorization create(:user).email, "test"
 
       # create a temporary changeset