Sha256: 267c413cef8d7185dd8033721cf030925dc072b889ebba51d93234930378fbf9

Contents?: true

Size: 802 Bytes

Versions: 7

Compression:

Stored size: 802 Bytes

Contents

require "tests_doc/version"

module TestsDoc
  autoload :Interaction,              'tests_doc/interaction'
  autoload :Index,                    'tests_doc/index'
  autoload :DisabledRecordSpecHelper, 'tests_doc/disabled_record_spec_helper'
  autoload :RecordSpecHelper,         'tests_doc/record_spec_helper'
  autoload :Configuration,            'tests_doc/configuration'
  autoload :File,                     'tests_doc/file'
  autoload :Logger,                   'tests_doc/logger'

  mattr_accessor :recorded_api_interaction
  mattr_accessor :interaction_options

  class << self

    def with_api_interaction
      yield if recorded_api_interaction
    end

    def configuration
      @configuration ||= Configuration.new
    end

    def configure
      yield configuration
    end

  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tests_doc-0.0.7 lib/tests_doc.rb
tests_doc-0.0.6 lib/tests_doc.rb
tests_doc-0.0.5 lib/tests_doc.rb
tests_doc-0.0.4 lib/tests_doc.rb
tests_doc-0.0.3 lib/tests_doc.rb
tests_doc-0.0.2 lib/tests_doc.rb
tests_doc-0.0.1 lib/tests_doc.rb