[rspec-users] specifying a controller's layout

David Chelimsky dchelimsky at gmail.com
Sat Oct 18 03:35:26 EDT 2008


On Sat, Oct 18, 2008 at 2:44 AM, Nick Hoffman <nick at deadorange.com> wrote:
> On 2008-10-17, at 17:16, David Chelimsky wrote:
>>
>> Cool. Don't forget the seldom used #head, though I don't know what to
>> call it: when_heading_to?
>
> I looked through the docs at http://rspec.rubyforge.org/rspec/1.1.8/ for
> #head , but the closest thing I found was #header , which is undocumented.
> When you have a minute, would you mind telling us about #head please?

It's a rails method, not rspec. Check out ActionController::Base#head.

Cheers,
David

>
> Thanks!
> Nick
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list