Class: Opticon::Failure::ContentTestFailure
- Defined in:
- lib/opticon/failure.rb
Instance Attribute Summary
Attributes inherited from Base
#condition, #exception, #response, #uri
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Opticon::Failure::Base
Instance Method Details
#failure_message ⇒ Object
31 32 33 34 35 36 37 |
# File 'lib/opticon/failure.rb', line 31 def if exception return exception. else "Page content did not include the expected #{condition.class} #{condition.inspect}" end end |