I have several rails controllers that use authenticate_or_request_with_http_basic- how can I set user / pass in my rspec examples?
I am surprised that I could not find it elsewhere on the Internet, so maybe I am using the wrong conditions? “I found some very old things, or something that seems very complicated to me.” It seems that at this point rspec will either have direct support for this, or a neat idiomatic solution.
source
share