aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/runner_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Provide a better error message if a user mistypes the name of script with runnerStephen Blackstone2016-01-051-0/+10
| | | | Add tests for detecting bad options for runner
* tests, railties tests should use `bin/` executables when possible.Yves Senn2015-06-301-10/+10
| | | | | We recommend using the `bin/` executables in our docs and guides. Let's make sure that our tests execute the same code path.
* Revert "Merge pull request #19404 from dmathieu/remove_rack_env"Jeremy Kemper2015-03-201-0/+6
| | | | | | | Preserving RACK_ENV behavior. This reverts commit 7bdc7635b885e473f6a577264fd8efad1c02174f, reversing changes made to 45786be516e13d55a1fca9a4abaddd5781209103.
* don't fallback to RACK_ENV when RAILS_ENV is not presentDamien Mathieu2015-03-191-6/+0
|
* script => binAkira Matsuda2013-01-181-6/+6
|
* Refactor tests that switch RAILS_ENV and RACK_ENVCarlos Antonio da Silva2012-12-061-12/+8
| | | | | | | | | | | | This cleanup aims to fix a build failure: https://travis-ci.org/rails/rails/jobs/3515951/#L482 Since travis always have both ENV vars set to "test", a test is failing where it's expected to output the default env "development", but "test" is the result due to RACK_ENV being set when we expect it to not be. By cleaning this duplication we ensure that changing any of these env variables will pick the right expected value.
* Fix duplicated method nameCarlos Antonio da Silva2012-12-051-2/+1
| | | | [ci skip]
* Add ENV['RACK_ENV'] support to rake runner/console/server.kennyj2012-12-061-0/+23
|
* Add support runner hook.kennyj2012-05-291-0/+10
|
* convert railties to use AS::TestCaseAaron Patterson2012-01-051-1/+1
|
* make 'rails runner' show usage when run without any optionsVijay Dev2011-06-101-0/+4
|
* Solve the RAILS_ENV problem in the railties tests in a more generic wayJon Leighton2011-06-061-0/+4
|
* Send 'rails runner' help message to stdout instead of stderr.rohit2010-09-191-2/+1
| | | | | | [#5661 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
* Fix output of 'rails runner --help' [#4249 state:open]rohit2010-09-181-0/+5
|
* Fix indentJeremy Kemper2010-07-021-1/+1
|
* Added 4 tests for Rails Runner. 2 failing tests for $0 and $PROGRAM_NAME ↵rohit2010-06-221-0/+49
[#2244 state:open] Signed-off-by: José Valim <jose.valim@gmail.com>