Class: Skooma::RSpec
- Inherits:
-
Matchers::Wrapper
- Object
- Module
- Matchers::Wrapper
- Skooma::RSpec
- Defined in:
- lib/skooma/rspec.rb
Overview
RSpec matchers for OpenAPI schema validation
Defined Under Namespace
Modules: HelperMethods
Constant Summary
Constants inherited from Matchers::Wrapper
Matchers::Wrapper::TEST_REGISTRY_NAME
Instance Attribute Summary
Attributes inherited from Matchers::Wrapper
Instance Method Summary collapse
-
#initialize(openapi_path, **params) ⇒ RSpec
constructor
A new instance of RSpec.
Constructor Details
#initialize(openapi_path, **params) ⇒ RSpec
Returns a new instance of RSpec.
29 30 31 32 33 34 35 36 37 38 |
# File 'lib/skooma/rspec.rb', line 29 def initialize(openapi_path, **params) super(HelperMethods, openapi_path, **params) skooma_self = self ::RSpec.configure do |c| c.after(:suite) do at_exit { skooma_self.coverage.report } end end end |