module GooglePubsubEnhancer::Spec::PublisherTester

Public Instance Methods

expect_publish_called_with(msg) click to toggle source
# File lib/google_pubsub_enhancer/spec.rb, line 28
def expect_publish_called_with(msg)
  expect(publisher).to receive(:publish).with(msg, {recordId: "a1s2d3f4g5"}).ordered
end