Method: Tap::Test::TapTest#setup
- Defined in:
- lib/tap/test/tap_test.rb
#setup ⇒ Object
Setup creates a test-method-specific application that is initialized to the method_root, and uses the relative and absolute paths from trs (the test root structure, see Tap::Test::FileTest).
Also makes sure Tap::App.instance returns the test method app.
21 22 23 24 25 |
# File 'lib/tap/test/tap_test.rb', line 21 def setup super @app = Tap::App.new(app_config) Tap::App.instance = @app end |