hey D,

Now, essentially... what's the difference between nil and [] in this
> case? The point is deleting the auth token, right? If anyone can
> indulge me on this that would be awesome.


I guess that spec could be failing because of Rails changing its internals
regarding cookies, I guess you should read the rails changes in the version
http://guides.rubyonrails.org/2_3_release_notes.html, I remembered there's a
mention as to some changes in cookies treatment (e.g):

"Assigning a String value to request.cookies[“foo”] now sets the cookie as
expected."

it could be the thing that cookies used to be an array that returned empty
if not set (but I'am guessing here).

anyway IMHO this spec is checking too much about the rails internals, I
typically don't spec controllers too much (there are cases when I do :-) ),
and use cucumber instead, I've been using cucumber+webrat to test the whole
stack for a while (I notice by one of your emails that I've never run `rake
test` at all)

I should find the time to share all that about cucumber and such and other
things,

hth
joaquin

--~--~---------~--~----~------------~-------~--~----~
Insoshi developer site: http://dogfood.insoshi.com/
Insoshi documentation: http://docs.insoshi.com/

You received this message because you are subscribed to the Google
Groups "Insoshi" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/insoshi?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to