Module: RSpec::Rake
- Defined in:
- lib/rspec/core/backward_compatibility.rb
Class Method Summary collapse
Class Method Details
.const_missing(name) ⇒ Object
34 35 36 37 38 39 40 41 42 43 |
# File 'lib/rspec/core/backward_compatibility.rb', line 34 def self.const_missing(name) case name when :SpecTask RSpec.deprecate("Spec::Rake::SpecTask", "RSpec::Core::RakeTask") require 'rspec/core/rake_task' RSpec::Core::RakeTask else super(name) end end |