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.5.1 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.5.1.pre lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.5.0 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.4.4 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.4.3 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.4.2 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.4.1 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.4.0 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.4.0.pre5 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.3.4 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.4.0.pre4 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.4.0.pre3 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.4.0.pre2 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.4.0.pre1 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.3.3 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.3.2 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.3.1 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.3.0 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.2.5 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.2.4 lib/active_mocker/deprecated_components/rspec.rb