
NoMethodError 'accept_language' in MockRequest
Reported by kgiszczak | April 14th, 2009 @ 03:35 AM
Hi,
can you add 'accept_language' method to class MockRequest. I get this error now:
NoMethodError: undefined method accept_language' for
#<Authlogic::TestCase::MockRequest:0x34519d0>
Thanks!
Comments and changes to this ticket
-
Ben Johnson April 14th, 2009 @ 03:47 AM
- State changed from new to resolved
I did you one better, I added a method_missing call so it will catch all of those NoMethodErrors on that class.
-
-
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Object based authentication solution that handles all of the non sense for you. It's as easy as ActiveRecord is with a database.