Module: Cell::Testing
- Includes:
- ControllerFor
- Defined in:
- lib/cell/testing.rb
Overview
Builder methods and Capybara support. This gets included into Test::Unit, MiniTest::Spec, etc.
Defined Under Namespace
Modules: Capybara, ControllerFor
Instance Method Summary collapse
Methods included from ControllerFor
Instance Method Details
#cell(name, *args) ⇒ Object
7 8 9 |
# File 'lib/cell/testing.rb', line 7 def cell(name, *args) cell_for(ViewModel, name, *args) end |
#concept(name, *args) ⇒ Object
11 12 13 |
# File 'lib/cell/testing.rb', line 11 def concept(name, *args) cell_for(Concept, name, *args) end |