[Facebooker-talk] tesing controllers

Mike Mangino mmangino at elevatedrails.com
Tue Nov 11 12:25:03 EST 2008


On Nov 11, 2008, at 12:56 AM, James Bracy wrote:

> Hey,
>
> I'm trying to set up some test for a few controllers but I'm running  
> into a error while testing. The tes is as follows:
>
> def test_index
>   facebook_get :index
>   assert_response :success
>   assert_template 'index'
> end
>
> And the error that I get comes from the 'facebook_get :index' and is:
>
> Facebooker::Session::SessionExpired: Session key invalid or no  
> longer valid


If you are doing anything that involves the API, you might get the  
error. What does the stack trace look like?

Mike


>
>
> Any ideas?
>
> Thanks,
> James
> _______________________________________________
> Facebooker-talk mailing list
> Facebooker-talk at rubyforge.org
> http://rubyforge.org/mailman/listinfo/facebooker-talk

--
Mike Mangino
http://www.elevatedrails.com





More information about the Facebooker-talk mailing list