Class: Rails::Command::TestCommand
- Inherits:
-
Base
- Object
- Base
- Rails::Command::TestCommand
- Defined in:
- lib/rails/commands/test/test_command.rb
Instance Method Summary collapse
Instance Method Details
#perform(*args) ⇒ Object
29 30 31 32 33 34 35 |
# File 'lib/rails/commands/test/test_command.rb', line 29 def perform(*args) $LOAD_PATH << Rails::Command.root.join("test").to_s args.unshift("--exclude=\\Atest_helper\\.rb\\z") args.unshift("--default-test-path=test") exit(Test::Unit::AutoRunner.run(true, nil, args)) end |