Sha256: bba2500d966877f6ca8ab61b91961803abe5b71211073b41d8bc64769bf37ac0
Contents?: true
Size: 667 Bytes
Versions: 3
Compression:
Stored size: 667 Bytes
Contents
require_relative 'spec_helper' require 'fluentd_server/task_runner' require 'fluentd_server/model' describe 'TaskRunner' do let(:task) { Task.create } before { allow(task).to receive(:delay).and_return(task) } after { Task.delete_all } context '.serf_path' do it { expect(File.executable?(Task.serf_path)).to be_truthy } end # ToDo: Test whether the serf command is executed correctly context '#restart' do it { expect { task.restart }.not_to raise_error } end context '#status' do it { expect { task.status }.not_to raise_error } end context '#configtest' do it { expect { task.configtest }.not_to raise_error } end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fluentd-server-0.3.2 | spec/task_runner_spec.rb |
fluentd-server-0.3.1 | spec/task_runner_spec.rb |
fluentd-server-0.3.0 | spec/task_runner_spec.rb |