Sha256: 8afcf3f8b2eb8ece0e0393e7e2cc67a19408fb700a570bd6ac73b970cc1a2297
Contents?: true
Size: 354 Bytes
Versions: 1
Compression:
Stored size: 354 Bytes
Contents
module Faye module Publisher FakePublishing = Struct.new(:channel, :payload) class RedisPublisher def publish(*args) publishings << Faye::Publisher::FakePublishing.new(*args) end def clear_publishings @publishings.clear end def publishings @publishings ||= [] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
grape-gen-0.0.6 | template/spec/patches/faye/publisher/test.rb |