Sha256: 11e964d9546f8fc800cfee94ebc78e841fefb7852f66a027eb55d5f28184bdba

Contents?: true

Size: 315 Bytes

Versions: 7

Compression:

Stored size: 315 Bytes

Contents

module SolidusSubscriptions
  module TestingSupport
    module ConfigHelper
      def stub_config(options)
        allow(SolidusSubscriptions.configuration).to receive_messages(options)
      end
    end
  end
end

RSpec.configure do |config|
  config.include SolidusSubscriptions::TestingSupport::ConfigHelper
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
solidus_subscriptions-2.0.2 spec/support/helpers/config.rb
solidus_subscriptions-2.0.1 spec/support/helpers/config.rb
solidus_subscriptions-2.0.0 spec/support/helpers/config.rb
solidus_subscriptions-1.1.0 spec/support/helpers/config.rb
solidus_subscriptions-1.0.1 spec/support/helpers/config.rb
solidus_subscriptions-1.0.0 spec/support/helpers/config.rb
solidus_subscriptions-1.0.0.rc1 spec/support/helpers/config.rb