Sha256: 472dd147a53e8cff0734053cd9d7cb37a0577fd03a2d947b88a9bcb48fe88f25

Contents?: true

Size: 361 Bytes

Versions: 7

Compression:

Stored size: 361 Bytes

Contents

# frozen_string_literal: true

require_relative 'fake_subscription_service/object_cache'
require_relative 'fake_subscription_service/request'

module Shark
  module RSpec
    module FakeSubscriptionService
      def self.setup
        ObjectCache.clear
        Request.setup
      end

      def self.reset
        ObjectCache.clear
      end
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bima-shark-sdk-2.4.4 lib/shark/rspec/fake_subscription_service.rb
bima-shark-sdk-2.4.3 lib/shark/rspec/fake_subscription_service.rb
bima-shark-sdk-2.4.2 lib/shark/rspec/fake_subscription_service.rb
bima-shark-sdk-2.4.1 lib/shark/rspec/fake_subscription_service.rb
bima-shark-sdk-2.4.0 lib/shark/rspec/fake_subscription_service.rb
bima-shark-sdk-2.3.1 lib/shark/rspec/fake_subscription_service.rb
bima-shark-sdk-2.3.0 lib/shark/rspec/fake_subscription_service.rb