Topic: Expected response to be a <:success>, but was <301>

I have application without tests, now I'm trying to add them (minitest-rails), but something wrong.
I'm typing "rails generate controller test test"
and I have:

require "minitest_helper"

class TestControllerTest < MiniTest::Rails::ActionController::TestCase
  test "should get test" do
    get :test
    assert_response :success
  end
end

now I'm typing "rake test" and "Expected response to be a <success>, but was <301>" error occuring.
Where is the problem?

Re: Expected response to be a <:success>, but was <301>

We're going to need to see your controllers and routes.rb to determine why.