lib/parliament/utils/test_helpers/bandiera_helper.rb in parliament-utils-0.8.4 vs lib/parliament/utils/test_helpers/bandiera_helper.rb in parliament-utils-0.8.5

- old
+ new

@@ -4,11 +4,11 @@ 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 + # 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