123456789_123456789_123456789_123456789_123456789_

Module: Rails::Generators::Testing::SetupAndTeardown

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: railties/lib/rails/generators/testing/setup_and_teardown.rb

Instance Method Summary

Instance Method Details

#setup

This method is for internal use only.
[ GitHub ]

  
# File 'railties/lib/rails/generators/testing/setup_and_teardown.rb', line 7

def setup # :nodoc:
  destination_root_is_set?
  ensure_current_path
  super
end

#teardown

This method is for internal use only.
[ GitHub ]

  
# File 'railties/lib/rails/generators/testing/setup_and_teardown.rb', line 13

def teardown # :nodoc:
  ensure_current_path
  super
end