Displaying 1 result from an estimated 1 matches for "view_context_class".
2010 Nov 15
0
Problem testing Authlogic UserSession
...is using console, I get the following
ruby-1.8.7-p302 > require "authlogic/test_case"
=> true
ruby-1.8.7-p302 > include Authlogic::TestCase
=> Object
ruby-1.8.7-p302 >ron = User.first
ruby-1.8.7-p302 > activate_authlogic
=> #<ApplicationController:0x105a06300
@view_context_class=nil, @_status=200, @action_has_layout=true,
@_headers={"Content- Type"=>"text/html"}>
ruby-1.8.7-p302 > us = UserSession.new(:email => ron.email, :password =>
ron.password)
=> #<UserSession:
{:password=>"<protected>", :email=>"ron...