Class: CabezaDeTermo::JsonSpec::CanBeNullModifier

Inherits:
ExpressionModifier show all
Defined in:
lib/cabeza-de-termo/json-spec/modifiers/can-be-null-modifier.rb

Instance Method Summary collapse

Instance Method Details

#run_on(expression) ⇒ Object



7
8
9
10
# File 'lib/cabeza-de-termo/json-spec/modifiers/can-be-null-modifier.rb', line 7

def run_on(expression)
	can_be_null_runner = CanBeNullExpectationsRunner.new(expression.expectations_runner)
	expression.set_expectations_runner(can_be_null_runner)
end