# Testing Rails 2.0 Http Authentication

**URL:** <https://www.ruby-forum.com/t/testing-rails-2-0-http-authentication/117228>\
**Category:** Rails\
**Created:** [October 15, 2007, 2:41am UTC](https://www.ruby-forum.com/t/testing-rails-2-0-http-authentication/117228 "2007-10-15T02:41:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bparanj](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/b/e9a140/32.png) [@bparanj](https://www.ruby-forum.com/u/bparanj)\
**Post date:** [October 15, 2007, 2:41am UTC](https://www.ruby-forum.com/t/testing-rails-2-0-http-authentication/117228/1 "2007-10-15T02:41:31Z")

</div>

I am able to check that admin pages are protected. Does anyone know  
how to login using http authentication in functional tests so that all  
scenarios for successful login can be tested? TIA.
