spec/out_grepcounter_spec.rb in fluent-plugin-grepcounter-0.4.1 vs spec/out_grepcounter_spec.rb in fluent-plugin-grepcounter-0.4.2
- old
+ new
@@ -280,13 +280,13 @@
end
it { emit }
end
context 'remove_tag_prefix' do
- let(:config) { CONFIG + %[add_tag_prefix foo\nremove_tag_prefix syslog] }
+ let(:config) { CONFIG + %[remove_tag_prefix syslog] }
before do
Fluent::Engine.stub(:now).and_return(time)
- Fluent::Engine.should_receive(:emit).with("foo.host1", time, expected)
+ Fluent::Engine.should_receive(:emit).with("host1", time, expected)
end
it { emit }
end
context 'output_with_joined_delimiter (obsolete)' do