Sha256: 16f11de135e68dfcf40f20b3695387202183825c7d205a5ad141c13dd78442da
Contents?: true
Size: 538 Bytes
Versions: 4
Compression:
Stored size: 538 Bytes
Contents
module DeepTest class RSpecDetector def self.if_rspec_available if defined?(::Spec) require 'spec/version' if ::Spec::VERSION::MAJOR == 1 && ::Spec::VERSION::MINOR == 1 && ::Spec::VERSION::TINY >= 8 yield else require 'spec/rake/spectask' ::Spec::Rake::SpecTask.class_eval do def deep_test(options) raise "* DeepTest RSpec support requires RSpec 1.1.8" end end end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems