Object
# File lib/rr/integrations/rspec_1.rb, line 26 def applies? defined?(::Spec) && defined?(::Spec::VERSION::STRING) && ::Spec::VERSION::STRING =~ /^1/ end
# File lib/rr/integrations/rspec_1.rb, line 32 def hook ::Spec::Runner.configure do |config| config.mock_with Mixin config.include RR::Adapters::RRMethods end patterns = ::Spec::Runner::QuietBacktraceTweaker::IGNORE_PATTERNS unless patterns.include?(RR::Errors::BACKTRACE_IDENTIFIER) patterns.push(RR::Errors::BACKTRACE_IDENTIFIER) end end
Generated with the Darkfish Rdoc Generator 2.