mirror of
https://github.com/fluent/fluentd-ui.git
synced 2025-08-13 17:57:10 +02:00
Correctly fix feature spec
This commit is contained in:
parent
24899b7a6a
commit
1c8cc67424
@ -7,7 +7,7 @@ describe "out_forward" do
|
|||||||
|
|
||||||
before do
|
before do
|
||||||
Fluentd.stub(:instance).and_return(daemon)
|
Fluentd.stub(:instance).and_return(daemon)
|
||||||
daemon.stub(:detached_command).and_return(true)
|
Fluentd::Agent::TdAgent.any_instance.stub(:detached_command).and_return(true)
|
||||||
daemon.agent.config_write ""
|
daemon.agent.config_write ""
|
||||||
|
|
||||||
visit '/sessions/new'
|
visit '/sessions/new'
|
||||||
|
@ -7,7 +7,7 @@ describe "out_td" do
|
|||||||
|
|
||||||
before do
|
before do
|
||||||
Fluentd.stub(:instance).and_return(daemon)
|
Fluentd.stub(:instance).and_return(daemon)
|
||||||
daemon.stub(:detached_command).and_return(true)
|
Fluentd::Agent::TdAgent.any_instance.stub(:detached_command).and_return(true)
|
||||||
daemon.agent.config_write ""
|
daemon.agent.config_write ""
|
||||||
|
|
||||||
visit '/sessions/new'
|
visit '/sessions/new'
|
||||||
|
Loading…
Reference in New Issue
Block a user