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



5
6
7
# File 'lib/authlogic/test_case/mock_logger.rb', line 5

def error(message)
  raise message
end