David Chelimsky wrote:
> On Jul 3, 2008, at 2:24 AM, Damian Terentiev wrote:
> 
>>  def set_site_language
>>    @site_language = cookie['lang'] ?
>>      Language.find_by_code(cookie['lang']) :
>>      Language.find(:first)
> 
> Shouldn't this be cookies, not cookie? Doesn't explain why the test
> passes when the example fails, but it seems that both should be
> raising errors on this.

Yes, there should be `cookies`, but the problem still exists.
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to