Module: TrueTest

Defined in:
lib/true_test.rb,
lib/true_test/dsl.rb,
lib/true_test/context.rb,
lib/true_test/fixture.rb,
lib/true_test/assertion.rb

Defined Under Namespace

Modules: DSL Classes: Assertion, Context, Fixture, NegativeAssertion, PositiveAssertion

Class Method Summary collapse

Class Method Details

.after_assertion(&block) ⇒ Object



8
9
10
# File 'lib/true_test.rb', line 8

def after_assertion(&block)
  after_assertion_callbacks << block
end

.after_assertion_callbacksObject



11
12
13
14
# File 'lib/true_test.rb', line 11

def after_assertion_callbacks
  @@after_assertion_callbacks ||= []
  @@after_assertion_callbacks
end