Module: Cell::Testing

Included in:
TestCase
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

Instance Method Summary collapse

Instance Method Details

#cell(name, *args) ⇒ Object



5
6
7
# File 'lib/cell/testing.rb', line 5

def cell(name, *args)
  cell_for(ViewModel, name, *args)
end

#concept(name, *args) ⇒ Object



9
10
11
# File 'lib/cell/testing.rb', line 9

def concept(name, *args)
  cell_for(Concept, name, *args)
end