From 14857e8f8d37c336cd22e3e89eb56e3f36d1a542 Mon Sep 17 00:00:00 2001 From: Kenji Okimoto Date: Mon, 30 Jul 2018 18:31:30 +0900 Subject: [PATCH] Return daemon instance from stub_daemon Signed-off-by: Kenji Okimoto --- test/support/stub_daemon.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/test/support/stub_daemon.rb b/test/support/stub_daemon.rb index 25e88e2..23bfb36 100644 --- a/test/support/stub_daemon.rb +++ b/test/support/stub_daemon.rb @@ -7,6 +7,7 @@ module StubDaemon stub(object).running? { running } end daemon.agent.config_write("") + daemon end end