Hi all.
Problem: Using parameters in get() seems to swallow the session
values.
In my functional test I have something like:
get :show, :testa => ''aa'', :testb =>
''bb''
In my view I have:
<%= session[:testb]%>
This should give a true for this test: assert_tag :content => "bb"
But it doesn''t unless I remove the params when calling get(), so this
tests true:
get :show, {}, :testb => ''bb''
assert_tag :content => "bb"
What am I doing wrong ?
I''m using Rails version 1.1.6
Thanks
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---