Module: Apotomo::TestCase::TestMethods::ClassMethods

Defined in:
lib/apotomo/test_case.rb

Instance Method Summary collapse

Instance Method Details

#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 has_widgets(&block)
  @has_widgets = block
end

#has_widgets_blocksObject


91
92
93
# File 'lib/apotomo/test_case.rb', line 91

def has_widgets_blocks
  @has_widgets
end