File: configure.rb

package info (click to toggle)
ruby-flexmock 3.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 836 kB
  • sloc: ruby: 7,572; makefile: 6
file content (12 lines) | stat: -rw-r--r-- 289 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
# Auto configure for RSpec
#
# Just require 'flexmock/rspec/configure' to automatically configure
# RSpec to use flexmock.

if defined?(RSpec)
  RSpec.configure do |config|
    config.mock_with :flexmock
  end
else
  fail "Cannot auto-configure flexmock for ancient versions of rspec"
end