Test the helper functions in test_helper.rb
# File test/test_context.rb, line 12 def test_set_and_clear_restart_messages() service = Context.new(@splunkrc).login() assert_false(service.server_requires_restart?) set_restart_message(service) assert_true(service.server_requires_restart?) clear_restart_message(service) assert_false(service.server_requires_restart?) end
Generated with the Darkfish Rdoc Generator 2.