Sha256: 14ef59ccfdd832a7a6a34b8f797c2249ca56fdcf9001e53709d3737efac62613

Contents?: true

Size: 347 Bytes

Versions: 24

Compression:

Stored size: 347 Bytes

Contents

# frozen_string_literal: true
require "active_mocker/rspec"

module ActiveMocker
  module Rspec
    # @deprecated method, will be removed in version 2.1
    # Use +active_mocker.mocks.find('ClassName')+ instead
    # To keep using until removal, require this file.
    def mock_class(*args)
      active_mocker.mocks.find(*args)
    end
  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
active_mocker-2.2.3 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.2.2 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.2.1 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.2.0 lib/active_mocker/deprecated_components/rspec.rb