spec/neovim/async_session_spec.rb in neovim-0.0.3 vs spec/neovim/async_session_spec.rb in neovim-0.0.4
- old
+ new
@@ -26,11 +26,11 @@
request = fiber.resume
srv_thr.join
expect(request).to be_a(Request)
- expect(request.method_name).to eq(:func)
+ expect(request.method_name).to eq("func")
expect(request.arguments).to eq([1, 2, 3])
end
it "receives notifications" do
stream = MsgpackStream.new(event_loop)
@@ -55,10 +55,10 @@
notification = fiber.resume
srv_thr.join
expect(notification).to be_a(Notification)
- expect(notification.method_name).to eq(:func)
+ expect(notification.method_name).to eq("func")
expect(notification.arguments).to eq([1, 2, 3])
end
it "receives responses to requests" do
stream = MsgpackStream.new(event_loop)