Forum: Ruby on Rails Integration testing an api

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Zack C. (Guest)
on 2006-04-27 18:45
(Received via mailing list)
Hello,
  I'm building a web app with an api that models the basecamp api.
Everything works fine from the command line using curl.

curl -H 'Accept: application/xml' -H 'Content-Type: application/xml'
-u username:password -d '<request>...</request>' http://url

My question is how to setup integration testing against the api.  Does
the integration testing framework support HTTP authentication (Basic)?

Thanks,
Zack
This topic is locked and can not be replied to.