Module: Rails::Generators::Testing::SetupAndTeardown
- Included in:
- Rails::Generators::TestCase
- Defined in:
- railties/lib/rails/generators/testing/setup_and_teardown.rb
Instance Method Summary collapse
-
#setup ⇒ Object
:nodoc:.
-
#teardown ⇒ Object
:nodoc:.
Instance Method Details
#setup ⇒ Object
:nodoc:
5 6 7 8 9 |
# File 'railties/lib/rails/generators/testing/setup_and_teardown.rb', line 5 def setup # :nodoc: destination_root_is_set? ensure_current_path super end |
#teardown ⇒ Object
:nodoc:
11 12 13 14 |
# File 'railties/lib/rails/generators/testing/setup_and_teardown.rb', line 11 def teardown # :nodoc: ensure_current_path super end |