David Chelimsky wrote:
> On Jun 24, 2008, at 10:22 AM, Matthew Rudy Jacobs wrote:
>
>> Hi there,
>>
>> For my api controllers I need the following;
>> request.ssl? == true
>> and
>> an api key "request.env['HTTP_OUR_API_KEY']"
>>
David Chelimsky wrote:
> On Jun 24, 2008, at 10:22 AM, Matthew Rudy Jacobs wrote:
>
>> Hi there,
>>
>> For my api controllers I need the following;
>> request.ssl? == true
>> and
>> an api key "request.env['HTTP_OUR_API_KEY']"
>>
Hi there,
For my api controllers I need the following;
request.ssl? == true
and
an api key "request.env['HTTP_OUR_API_KEY']"
In my spec/controllers I just stub out the required code
but in stories I don't want any stubs.
I've tried changing the .env of the existing request,
but this doesn't work