spec/honeybadger/notifier_spec.rb in honeybadger-1.16.0 vs spec/honeybadger/notifier_spec.rb in honeybadger-1.16.1
- old
+ new
@@ -63,24 +63,14 @@
end
context "metrics are disabled by service" do
let(:result) { {'features' => {'metrics' => false}} }
specify { expect { invoke_subject }.to change(config, :metrics).to(false) }
-
- it "logs that metrics are disabled" do
- Honeybadger.should_receive(:write_verbose_log).with(/metrics feature is not enabled/, :warn)
- invoke_subject
- end
end
context "traces are disabled by service" do
let(:result) { {'features' => {'traces' => false}} }
specify { expect { invoke_subject }.to change(config, :traces).to(false) }
-
- it "logs that traces are disabled" do
- Honeybadger.should_receive(:write_verbose_log).with(/traces feature is not enabled/, :warn)
- invoke_subject
- end
end
end
context "result is falsey" do
before { sender.should_receive(:ping) }