Module: Covered::RSpec::Policy
- Defined in:
- lib/covered/rspec.rb
Overview
Extends RSpec configuration with coverage tracking.
Instance Method Summary collapse
-
#covered ⇒ Object
The active coverage configuration.
-
#covered=(policy) ⇒ Object
Assign the active coverage configuration.
-
#load_spec_files ⇒ Object
Start coverage before loading spec files.
Instance Method Details
#covered ⇒ Object
The active coverage configuration.
26 27 28 |
# File 'lib/covered/rspec.rb', line 26 def covered $covered end |
#covered=(policy) ⇒ Object
Assign the active coverage configuration.
32 33 34 |
# File 'lib/covered/rspec.rb', line 32 def covered= policy $covered = policy end |
#load_spec_files ⇒ Object
Start coverage before loading spec files.
18 19 20 21 22 |
# File 'lib/covered/rspec.rb', line 18 def load_spec_files $covered.start super end |