Class: RoutesCoverage::Adapters::RSpec
- Inherits:
-
Object
- Object
- RoutesCoverage::Adapters::RSpec
- Defined in:
- lib/routes_coverage/adapters/rspec.rb
Class Method Summary collapse
Class Method Details
.use ⇒ Object
13 14 15 16 17 18 19 20 21 22 23 |
# File 'lib/routes_coverage/adapters/rspec.rb', line 13 def self.use ::RSpec.configure do |config| config.before(:suite) do RoutesCoverage.reset! end config.after(:suite) do RoutesCoverage.perform_report end end end |