spec/ruboty/handlers/ping_spec.rb in ruboty-1.2.2 vs spec/ruboty/handlers/ping_spec.rb in ruboty-1.2.3

- old
+ new

@@ -21,10 +21,10 @@ let(:replied) do "pong" end it "returns PONG to PING" do - robot.should_receive(:say).with( + expect(robot).to receive(:say).with( body: replied, from: to, to: from, original: { body: said,