Exception: Rspec::PendingFor::EngineOrVersionsRequired
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Rspec::PendingFor::EngineOrVersionsRequired
- Defined in:
- lib/rspec/pending_for/engine_or_versions_required.rb
Overview
Error class raised when pending_for is used but no engine or version is specified.
Instance Method Summary collapse
-
#initialize(method_name, *args) ⇒ EngineOrVersionsRequired
constructor
A new instance of EngineOrVersionsRequired.
Constructor Details
#initialize(method_name, *args) ⇒ EngineOrVersionsRequired
Returns a new instance of EngineOrVersionsRequired.
7 8 9 10 |
# File 'lib/rspec/pending_for/engine_or_versions_required.rb', line 7 def initialize(method_name, *args) = "#{method_name} requires at least an engine or versions to be specified" super(, *args) end |