0
私のRuby on Rails 3アプリケーションで私のauthlogicコードをテストしようとしています。Rails 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"}
私はここで間違っていると思いますか?