Integration testing an api

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 ‘…’ http://url

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


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs