Class: Liza::BoxTest

Inherits:
UnitTest show all
Defined in:
lib/liza/meta/box_test.rb

Instance Method Summary collapse

Methods inherited from UnitTest

test_methods_defined

Methods inherited from Test

color, subsystem

Methods inherited from Unit

const_missing, division, part, system, #system, test_class

Instance Method Details

#assert_sub(name, controller_class, panel_class, kaller: caller) ⇒ Object



11
12
13
14
# File 'lib/liza/meta/box_test.rb', line 11

def assert_sub name, controller_class, panel_class, kaller: caller
  assert_equality subject_class[name].class, panel_class, kaller: kaller
  assert_equality panel_class.controller, controller_class, kaller: kaller
end