Sha256: f65600c3f700660f98a0a22a64f813e905a91a33546b937f5cb2093712172886
Contents?: true
Size: 445 Bytes
Versions: 9
Compression:
Stored size: 445 Bytes
Contents
module Proletariat module Testing # Internal: Defines a quantity of messages you expect to receive on a set # of topics. class Expectation < Struct.new(:topics, :quantity) # Public: Builds a new duplicate of current instance with different # topics. # # Returns a new instance of Expectation. def on_topic(*topics) Expectation.new(topics, quantity) end end end end
Version data entries
9 entries across 9 versions & 1 rubygems