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

Jonathan Linowes jonathan at parkerhill.com
Tue Jun 26 10:00:00 EDT 2007


I wonder if there could be some kind of tool that dumps a potential  
call sequence and stack so you could more easily see where stubs  
could go.


On Jun 26, 2007, at 9:01 AM, Ashley Moran wrote:

>
> 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
>
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users



More information about the rspec-users mailing list