spec/stream_spec.rb in ldclient-rb-2.0.2 vs spec/stream_spec.rb in ldclient-rb-2.0.3
- old
+ new
@@ -51,11 +51,11 @@
it "will accept DELETE methods" do
processor.send(:process_message, patch_message, LaunchDarkly::PATCH)
processor.send(:process_message, delete_message, LaunchDarkly::DELETE)
expect(processor.instance_variable_get(:@store).get("key")).to eq(nil)
end
- it "will log an error if the method is not recognized" do
- expect(processor.instance_variable_get(:@config).logger).to receive :error
+ it "will log a warning if the method is not recognized" do
+ expect(processor.instance_variable_get(:@config).logger).to receive :warn
processor.send(:process_message, put_message, "get")
end
end
end