Class: Nucop::NoWipSpecs
- Inherits:
-
RuboCop::Cop::Base
- Object
- RuboCop::Cop::Base
- Nucop::NoWipSpecs
- Defined in:
- lib/nucop/cops/no_wip_specs.rb
Overview
This cop looks for WIP specs
Constant Summary collapse
- MSG =
"WIP spec found".freeze
Instance Method Summary collapse
Instance Method Details
#on_send(node) ⇒ Object
29 30 31 32 33 |
# File 'lib/nucop/cops/no_wip_specs.rb', line 29 def on_send(node) return unless wip_it_specs_present?(node) || wip_describe_specs_present?(node) add_offense(node) end |