title: RoR: Test not running all assertions
body: <p>I'm working through the Ruby on Rails Tutorial and encountering an unusual testing issue.    </p>
  
  <p>In brief, the command 'bundle exec rake test' is not running all the 'assertions' every time which results in 'errors' being produced.  </p>
  
  <p><strong>1) When I first issue the command, I get the following result:</strong></p>
  
  <p>$ bundle exec rake test</p>
  
  <p>Run options: --seed 37842</p>
  
  <h1>Running:</h1>
  
  <p>E........................E....E...</p>
  
  <p>Finished in 1.076112s, 31.5952 runs/s, 123.5931 assertions/s.</p>
  
  <p>1) Error:
  UsersIndexTest#test_index_as_admin_including_pagination_and_delete_links:
  AbstractController::ActionNotFound: The action 'destroy' could not be found for UsersController
      test/integration/users_index_test.rb:21:in <code>block (2 levels) in &lt;class:UsersIndexTest&gt;'
      test/integration/users_index_test.rb:20:in</code>block in '</p>
  
  <p>2) Error:
  UsersControllerTest#test_should_redirect_destroy_when_logged_in_as_a_non-admin:
  AbstractController::ActionNotFound: The action 'destroy' could not be found for UsersController
      test/controllers/users_controller_test.rb:57:in <code>block (2 levels) in &lt;class:UsersControllerTest&gt;'
      test/controllers/users_controller_test.rb:56:in</code>block in '</p>
  
  <p>3) Error:
  UsersControllerTest#test_should_redirect_destroy_when_not_logged_in:
  AbstractController::ActionNotFound: The action 'destroy' could not be found for UsersController
      test/controllers/users_controller_test.rb:49:in <code>block (2 levels) in &lt;class:UsersControllerTest&gt;'
      test/controllers/users_controller_test.rb:48:in</code>block in '</p>
  
  <p>34 runs, 133 assertions, 0 failures, 3 errors, 0 skips</p>
  
  <p><strong>2) When I immediately reissue the command without doing anything else, I get the following -- different -- result:</strong></p>
  
  <p>$ bundle exec rake test</p>
  
  <p>Run options: --seed 13168</p>
  
  <h1>Running:</h1>
  
  <p>..................................</p>
  
  <p>Finished in 1.065538s, 31.9088 runs/s, 129.5121 assertions/s.</p>
  
  <p>34 runs, 138 assertions, 0 failures, 0 errors, 0 skips</p>
  
  <p><strong>3) I'm running this in a Cloud9 environment on a MacBook Pro</strong></p>
  
  <p>Thanks for the help.</p>