title: Minitest loops return odd number of assertions
body: <p>The following Minitest method</p>
  <pre><code>  def test_not_access
      @bad_users.each do |user|
        @actions.each do |action|
          sign_in user
          get action
          assert_redirected_to root_path
        end
      end    
    end
  </code></pre>
  <p>is returning 80 assertions.  Yet <code>@bad_users</code> is an array of 10 users, and actions is an array of 4.  The <code>setup</code> is split up between two setup block in the <code>test_helper.rb</code> and the test file itself.</p>
  <pre><code>  setup do
      @continent = continents(:one)
      @bad_users = [ ....  *in test_helper.rb*]
      @actions = [continents_url, continent_url(@continent), new_continent_url, edit_continent_url(@continent)]
    end
  
  </code></pre>
  <p>By my math the should generate 40 assertions. So either:<br />
  • the action is being evaluated twice for its assertion,<br />
  • the setup being split between two files runs everything twice<br />
  • or -improbably- another assertion is occuring.</p>
  <p>How can I verify which assertions are effectively being run? If the answer is in the second assumption, how can it be rectified?</p>