Displaying 1 result from an estimated 1 matches for "thothle_language".
2007 Nov 28
2
Testing cookies
Hello,
Here''s a test I wrote for cookies:
it "should change language when params[:id] is present" do
cookies[:thothle_language] = ''e''
get ''index'', :id => ''f''
response.cookies["thothle_language"].should equal(''f'')
end
The error I get is the following:
...expected "f", got ["f"] (using .equal?)
Any help...