BTW, I think I realised that my functional test problem is a result of
having replaced the default redirect action, so I think I''m good there,
but I''d still like to work out how to effectively search the mailing
list archives. Ever thought of moving to Google Groups?
CHEERS> SAM
Sam Joseph wrote:> Hi All,
>
> Does anyone have a good way of searching this mailing list?
>
> I am trying to work out why I get this error:
>
> 1) Failure:
> test_should_create_invitation_for_facebook(InvitationsControllerTest)
>
>
[./test/functional/../../vendor/plugins/facebooker/lib/facebooker/rails/test_helpers.rb:6:in
> `assert_facebook_redirect_to''
> ./test/functional/invitations_controller_test.rb:22:in
> `test_should_create_invitation_for_facebook''
>
>
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/testing/setup_and_teardown.rb:33:in
> `__send__''
>
>
/usr/local/lib/ruby/gems/1.8/gems/activesupport-2.1.1/lib/active_support/testing/setup_and_teardown.rb:33:in
> `run'']:
> <nil> expected to not be nil.
>
> running my tests, and so far I have tracked it down to this line in
> test_helpers:
>
> assert_not_nil facebook_redirect_url
>
> which appears to rely on this:
>
> def facebook_redirect_url
> match = @response.body.match(/<fb:redirect
url="([^"]+)"/)
> match.nil? ? nil : match.captures[0]
> end
>
> I was hoping to search the archives for the term
> ''facebook_redirect_url'' but could not find a search
interface.
>
> Any suggestions on how to search the archives or for how to address
> this testing problem will be most gratefully received.
>
> Many thanks in advance
> CHEERS> SAM
>
--
Sam Joseph, Ph.D.
Co-Director
Laboratory for Interactive Learning Technologies
Department of Information and Computer Sciences
University of Hawaii