mirror of
https://github.com/fluent/fluentd-ui.git
synced 2026-05-05 02:46:11 +02:00
Fix spec to ensure config_file
This commit is contained in:
parent
36bd26a37d
commit
366fc6364d
@ -2,7 +2,11 @@ require 'spec_helper'
|
||||
|
||||
describe Fluentd::Agent do
|
||||
let(:instance) { described_class.new(options) }
|
||||
let(:options) { {} }
|
||||
let(:options) {
|
||||
{
|
||||
:config_file => Rails.root.join('tmp', 'fluentd-test', 'fluentd.conf').to_s
|
||||
}
|
||||
}
|
||||
|
||||
describe "FluentdGem" do
|
||||
let(:described_class) { Fluentd::Agent::FluentdGem } # override nested described_class behavior as https://github.com/rspec/rspec-core/issues/1114
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user