Class: TestConstants

Inherits:
Test::Unit::TestCase
  • Object
show all
Defined in:
lib/webconsole/logger/test/tc_logger.rb

Instance Method Summary collapse

Instance Method Details

#test_constantsObject



16
17
18
19
20
21
# File 'lib/webconsole/logger/test/tc_logger.rb', line 16

def test_constants
  message_prefix = WebConsole::Logger::MESSAGE_PREFIX
  assert_not_nil(message_prefix, "The message prefix should not be nil.")
  error_prefix = WebConsole::Logger::ERROR_PREFIX
  assert_not_nil(message_prefix, "The error prefix should not be nil.")
end