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:
class TestControllerTest < MiniTest::Rails::ActionController::TestCase
test "should get test" do
now I'm typing "rake test" and "Expected response to be a <success>, but was <301>" error occuring.
Where is the problem?