spec/lib/data_spec.rb in zabbix-ruby-client-0.1.1 vs spec/lib/data_spec.rb in zabbix-ruby-client-0.1.2
- old
+ new
@@ -48,9 +48,10 @@
end
it "logs buggy plugins" do
allow(ZabbixRubyClient::Log).to receive(:fatal).with("Oops")
allow(ZabbixRubyClient::Log).to receive(:fatal).with("Exception")
+ allow(ZabbixRubyClient::Log).to receive(:fatal)
@data.run_plugin("sample_buggy")
end
it "merges collected and discovered data" do
allow(Time).to receive(:now).and_return("123456789")