0
Ruby on Rails 3 앱에서 내 authlogic 코드를 테스트하려고하는데 사용자 컨트롤러 테스트에 문제가 있습니다. 레일 3 기능 테스트에서 내 컨트롤러를 찾을 수 없습니다.
이
는 사용자의 컨트롤러class UsersControllerTest < ActionController::TestCase
test "should be asked to login on show action" do
get :index
end
end
내 시험이다 그리고 이것은 내가 내 테스트를 실행하면
resource :account, :controller => 'users'
내가 메시지가 컨트롤러를 설정 내 경로의 섹션
1) Error: test_should_be_asked_to_login_on_show_action(AccountsControllerTest): ActionController::RoutingError: No route matches {:controller=>"users"}
내가 뭘 잘못하고있어?