Skip to content

Commit 44c2b41

Browse files
committed
Update test for unknown stream messages
1 parent 844d5d2 commit 44c2b41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/stream_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@
5353
processor.send(:process_message, delete_message, LaunchDarkly::DELETE)
5454
expect(processor.instance_variable_get(:@store).get("key")).to eq(nil)
5555
end
56-
it "will log an error if the method is not recognized" do
57-
expect(processor.instance_variable_get(:@config).logger).to receive :error
56+
it "will log a warning if the method is not recognized" do
57+
expect(processor.instance_variable_get(:@config).logger).to receive :warn
5858
processor.send(:process_message, put_message, "get")
5959
end
6060
end

0 commit comments

Comments
 (0)