method

plugin_mock_framework

rspec latest stable - Class: Spec::Example::ExampleGroupMethods

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (1.1.12) is shown here.

plugin_mock_framework(run_options)
private

No documentation available.

# File lib/spec/example/example_group_methods.rb, line 336
      def plugin_mock_framework(run_options)
        case mock_framework = run_options.mock_framework
        when Module
          include mock_framework
        else
          require mock_framework
          include Spec::Adapters::MockFramework
        end
      end