Class: RSpecTurbo::Railtie

Inherits:
Rails::Railtie
  • Object
show all
Defined in:
lib/rspec_turbo/railtie.rb

Overview

Registers the ‘spec:turbo` Rake task in host Rails apps, so the suite can be launched via `rake spec:turbo` or `rails spec:turbo` (Rails routes unknown commands to Rake) in addition to the `rspec-turbo` binary.

Only loaded when Rails is present (see the guard in lib/rspec_turbo.rb).