Sha256: a16d96e4cb1b4a24a246921acc8dfb2d0da689a3537d08bd185e507b9e5d70a6
Contents?: true
Size: 483 Bytes
Versions: 8
Compression:
Stored size: 483 Bytes
Contents
require 'rspec/core/formatters' module Pact module Provider module RSpec class SilentJsonFormatter < ::RSpec::Core::Formatters::JsonFormatter def initialize stream # Don't want to display this to the screen, # not sure how else to set a custom stream for a particular formatter # Store a reference to this so it can be inspected afterwards. super(Pact.world.json_formatter_stream) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems