Testing - lifechurch/subserver GitHub Wiki

Subserver provides a feature for you to test the use of Subserver without actually publishing to PubSub.

require 'subserver/testing'

Subserver::Testing.fake!

When in Testing mode calling publish on your topic will simply return true.