Exception: Laravel::ExpectationNotMetError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/laravel/errors.rb

Overview

Error to be raised when Expectation is not same as Actual result used in Cucumber Tests

Instance Method Summary collapse

Constructor Details

#initialize(message = "Test failed because expectation was not met!") ⇒ ExpectationNotMetError

Returns a new instance of ExpectationNotMetError.



20
21
22
# File 'lib/laravel/errors.rb', line 20

def initialize(message = "Test failed because expectation was not met!")
  super(message)
end