Sha256: 2e0854773e98ba302c618638744027a153eb5cbca213e1cf8df590d443def118
Contents?: true
Size: 589 Bytes
Versions: 12
Compression:
Stored size: 589 Bytes
Contents
require 'bandiera/client' require 'pugin/bandiera' module Parliament module Utils module TestHelpers module BandieraHelper def self.load_rspec_config(config) # Stubs Bandiera::Client methods enabled? and get_features_for_group to clean up logs # and streamline cassettes config.before(:each) do allow(BANDIERA_CLIENT).to receive(:enabled?).and_return(false) allow(Pugin::PuginBandieraClient::BANDIERA_CLIENT).to receive(:get_features_for_group).and_return({}) end end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems