Akira Matsuda
8b0e52556e
script => bin
2013-01-18 17:12:47 +09:00
Carlos Antonio da Silva
5a8f25f003
Refactor tests that switch RAILS_ENV and RACK_ENV
...
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.
2012-12-06 10:47:14 -02:00
Carlos Antonio da Silva
b6f0978108
Fix duplicated method name
...
[ci skip]
2012-12-05 15:27:19 -02:00
kennyj
a7695579a5
Add ENV['RACK_ENV'] support to rake runner/console/server.
2012-12-06 02:05:33 +09:00
kennyj
f8e7904dc0
Add support runner hook.
2012-05-29 23:46:08 +09:00
Aaron Patterson
8f309e3105
convert railties to use AS::TestCase
2012-01-05 17:30:17 -08:00
Vijay Dev
880371ef2b
make 'rails runner' show usage when run without any options
2011-06-10 18:48:50 +05:30
Jon Leighton
62570e8626
Solve the RAILS_ENV problem in the railties tests in a more generic way
2011-06-06 13:54:05 +01:00
rohit
fd53bc85e7
Send 'rails runner' help message to stdout instead of stderr.
...
[#5661 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
2010-09-19 16:45:29 -07:00
rohit
76266a8184
Fix output of 'rails runner --help' [ #4249 state:open]
2010-09-18 20:49:33 +02:00
Jeremy Kemper
aeaa4687ea
Fix indent
2010-07-02 11:32:18 -07:00
rohit
9be0b50962
Added 4 tests for Rails Runner. 2 failing tests for $0 and $PROGRAM_NAME [ #2244 state:open]
...
Signed-off-by: José Valim <jose.valim@gmail.com>
2010-06-22 15:20:28 +02:00