Sha256: fa080b8d5aae554840a67ecf1b0644bef8da21fb73a01c3537ceeddd7d6711eb

Contents?: true

Size: 316 Bytes

Versions: 7

Compression:

Stored size: 316 Bytes

Contents

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

7 entries across 7 versions & 1 rubygems

Version Path
active_mocker-2.1.3 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.1.2 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.1.1 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.1.0 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.0.0 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.0.0.rc1 lib/active_mocker/deprecated_components/rspec.rb
active_mocker-2.0.0.pre1 lib/active_mocker/deprecated_components/rspec.rb