Class: Authlogic::TestCase::MockLogger

Inherits:
Object
  • Object
show all
Defined in:
lib/authlogic/test_case/mock_logger.rb

Overview

Simple class to replace real loggers, so that we can raise any errors being logged.

Instance Method Summary collapse

Instance Method Details

#error(message) ⇒ Object



7
8
9
# File 'lib/authlogic/test_case/mock_logger.rb', line 7

def error(message)
  raise message
end