Method: Apotomo::TestCase::TestMethods::ClassMethods#has_widgets
- Defined in:
- lib/apotomo/test_case.rb
#has_widgets(&block) ⇒ Object
Setup a widget tree as you’re used to it from your controller. Executed in test context.
96 97 98 |
# File 'lib/apotomo/test_case.rb', line 96 def (&block) @has_widgets = block end |