Module: Rails::Commands::TestEnvironment
- Extended by:
- TestEnvironment
- Included in:
- TestEnvironment
- Defined in:
- lib/rails/commands/test_environment.rb
Instance Method Summary collapse
Instance Method Details
#fork ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/rails/commands/test_environment.rb', line 8 def fork Environment.fork do setup_for_test yield end reset_active_record end |