Class: Assit::RaiseAction

Inherits:
Object show all
Defined in:
lib/assit/actions/raise_action.rb

Overview

Raises an error if the assertion fails

Instance Method Summary collapse

Instance Method Details

#assert_it(message) ⇒ Object

The action

Raises:



11
12
13
# File 'lib/assit/actions/raise_action.rb', line 11

def assert_it(message)
  raise AssertionFailure.new("ASSIT FAILED: #{message}")
end