[rspec-users] Fake SSL in specs when using ssl_requirement plug-in

Ashley Moran work at ashleymoran.me.uk
Tue Jun 26 09:01:03 EDT 2007

On 26 Jun 2007, at 13:11, Johan Sørensen wrote:

> request.stub!(:ssl?).and_return(true)

Now why didn't I think of that :)  I was looking for a way to set the  
request headers or protocol or something...

Ta very much

More information about the rspec-users mailing list