Sha256: fc4e9ab0524a5d754ae04fe666eece1271280516cd01b3fba836f33789e9ea03
Contents?: true
Size: 367 Bytes
Versions: 22
Compression:
Stored size: 367 Bytes
Contents
module StubDaemon shared_context 'stub daemon', stub: :daemon do let!(:exists_user) { build(:user) } let!(:daemon) { build(:fluentd, variant: "td-agent") } before do Fluentd.stub(:instance).and_return(daemon) Fluentd::Agent::TdAgent.any_instance.stub(:detached_command).and_return(true) daemon.agent.config_write "" end end end
Version data entries
22 entries across 22 versions & 1 rubygems
Version | Path |
---|---|
fluentd-ui-0.3.11 | spec/support/stub_daemon.rb |
fluentd-ui-0.3.10 | spec/support/stub_daemon.rb |