title: Minitest - NoMethodError: undefined method `get'
body: <p>I was stuck with error when i run very simple test with minitest-rails gem.
  I have rails 4.1.5 and minitest 5.4.0</p>
  
  <p>rake test:controllers</p>
  
  <p>1) Error:
  DashboardController::index action#test_0001_anonymous:
  NoMethodError: undefined method <code>get' for #&lt;#&lt;Class:0x00000008e28170&gt;:0x00000008eeb9b8&gt;
      test/controllers/dashboard_controller_test.rb:6:in</code>block (3 levels) in '</p>
  
  <p>Test:</p>
  
  <pre><code>require "test_helper"
  
  describe DashboardController do
    context "index action" do
      before do
        get :index
      end
      it { must_respond_with :success }
      it "must render index view" do
        must_render_template :index
      end
    end
  end
  </code></pre>
  
  <p>My test_helper:</p>
  
  <pre><code>ENV["RAILS_ENV"] = "test"
  require File.expand_path("../../config/environment", __FILE__)
  require "rails/test_help"
  require "minitest/rails"
  require "minitest/rails/capybara"
  
  
  class MiniTest::Spec
    class &lt;&lt; self
      alias :context :describe
    end
  end
  
  
  class RequestTest &lt; MiniTest::Spec
    include Rails.application.routes.url_helpers
  
    register_spec_type(/request$/, self)
  end
  
  
  class ActionDispatch::IntegrationTest
    # Register "request" tests to be handled by IntegrationTest
    register_spec_type(/Request( ?Test)?\z/i, self)
  end
  
  class ActiveSupport::TestCase
    ActiveRecord::Migration.check_pending!
  
    # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
    #
    # Note: You'll currently still have to declare fixtures explicitly in integration tests
    # -- they do not yet inherit this setting
    fixtures :all
  
    # Add more helper methods to be used by all tests here...
    extend MiniTest::Spec::DSL
  end
  </code></pre>