8703: better organized tests
[arvados.git] / services / api / test / test_helper.rb
index 68d4bbf5af4b03349b11259f82357e917dd52cf7..7579abf1ffd0234b3f1857516922416e1ff263e1 100644 (file)
@@ -106,12 +106,12 @@ end
 
 class ActionController::TestCase
   setup do
-    @counter = 0
+    @test_counter = 0
   end
 
   def check_counter action
-    @counter += 1
-    if @counter == 2
+    @test_counter += 1
+    if @test_counter == 2
       assert_equal 1, 2, "Multiple actions in functional test"
     end
   end