Exception: RSpec::Swag::MissingParameterError
- Inherits:
-
StandardError
- Object
- StandardError
- RSpec::Swag::MissingParameterError
- Defined in:
- lib/rspec/swag/request_factory.rb
Instance Method Summary collapse
Instance Method Details
#message ⇒ Object
296 297 298 299 300 301 302 303 304 305 |
# File 'lib/rspec/swag/request_factory.rb', line 296 def <<~MSG Missing parameter '#{super}' Please check your spec. It looks like you defined a body parameter, but did not declare usage via let. Try adding: let(:#{super}) {} MSG end |