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