Sha256: 0d41b854776f69ec8f6563f2187df98604f7327c49571171086e22524b5a0f08

Contents?: true

Size: 287 Bytes

Versions: 4

Compression:

Stored size: 287 Bytes

Contents

begin
  # try to load rspec/autotest so we can check if the constant is defined below.
  require 'rspec/autotest'
rescue LoadError
  # ignore. We print a deprecation warning later.
end

if File.exist?("./.rspec") && !defined?(::RSpec::Autotest)
  Autotest.add_discovery { "rspec2" }
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rspec-core-2.99.2 lib/autotest/discover.rb
rspec-core-2.99.1 lib/autotest/discover.rb
rspec-core-2.99.0 lib/autotest/discover.rb
rspec-core-2.99.0.rc1 lib/autotest/discover.rb