Class: UiInteractors::InteractorTest
- Inherits:
-
Minitest::Test
- Object
- Minitest::Test
- UiInteractors::InteractorTest
- Extended by:
- Forwardable
- Defined in:
- lib/ui_interactors/minitest/interactor_test.rb
Instance Attribute Summary collapse
-
#driver ⇒ Object
readonly
Returns the value of attribute driver.
-
#root_view ⇒ Object
readonly
Returns the value of attribute root_view.
Instance Method Summary collapse
Instance Attribute Details
#driver ⇒ Object (readonly)
Returns the value of attribute driver.
9 10 11 |
# File 'lib/ui_interactors/minitest/interactor_test.rb', line 9 def driver @driver end |
#root_view ⇒ Object (readonly)
Returns the value of attribute root_view.
9 10 11 |
# File 'lib/ui_interactors/minitest/interactor_test.rb', line 9 def root_view @root_view end |
Instance Method Details
#provide_driver ⇒ Object
19 20 21 |
# File 'lib/ui_interactors/minitest/interactor_test.rb', line 19 def provide_driver raise('Subclass must define `#provide_driver()`') end |
#setup ⇒ Object
11 12 13 14 15 |
# File 'lib/ui_interactors/minitest/interactor_test.rb', line 11 def setup super @driver = provide_driver @root_view = UiInteractors::Interactors::ViewInteractor.new(@driver) end |