Sha256: b968549e763881a49b60039887ce0892830ae23533c725aa731165157234c08a

Contents?: true

Size: 290 Bytes

Versions: 8

Compression:

Stored size: 290 Bytes

Contents

module Larva
  class Mocker
    def self.mock!
      Filum.setup('./log/test.log')
      Propono::Publisher.any_instance.stubs(:publish_via_sns)

      Propono.config do |config|
        config.logger = Filum.logger
      end

      after_mock if respond_to?(:after_mock)
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
larva-1.3.0 lib/larva/mocker.rb
larva-1.2.0 lib/larva/mocker.rb
larva-1.1.3 lib/larva/mocker.rb
larva-1.1.2 lib/larva/mocker.rb
larva-1.1.1 lib/larva/mocker.rb
larva-1.1.0 lib/larva/mocker.rb
larva-1.0.1 lib/larva/mocker.rb
larva-1.0.0 lib/larva/mocker.rb