lib/warden/test/mock.rb
# A helper method that provides the warden object by mocking the env variable.
# @api public
A helper method that provides the warden object by mocking the env variable.
A helper method that provides the warden object by mocking the env variable .
def warden
        @warden ||= begin
          env['warden']
        end
      end
def warden @warden ||= begin env [ 'warden' ] end end
A helper method that provides the warden object by mocking the env variable.
A helper method that provides the warden object by mocking the env variable .
api
None