2009-12-01から1ヶ月間の記事一覧
とかして、rake test すると get で返ってきたページが見えるよ。
とかして、rake test すると response で使えるメソッドの一覧が表示されるよ。
auth = ActionController::HttpAuthentication::Basic.encode_credentials(web_app_login,web_app_password) get "users.xml", { ・・普通のパラメータ・・}, {:HTTP_AUTHORIZATION => auth} Authlogic を使ったアプリのテストで、HTTP Basic認証(ActiveRes…