Methods
- S
- T
Included Modules
Instance Public methods
setup()
Link
teardown()
Link
test_should_include_runner_in_shebang_line_in_help()
Link
test_should_include_runner_in_shebang_line_in_help_without_option()
Link
test_should_run_file()
Link
test_should_run_ruby_statement()
Link
test_should_set_dollar_0_to_file()
Link
test_should_set_dollar_program_name_to_file()
Link
# File railties/test/application/runner_test.rb, line 53 def test_should_set_dollar_program_name_to_file app_file "script/program_name.rb", <<-SCRIPT puts $PROGRAM_NAME SCRIPT assert_match "script/program_name.rb", Dir.chdir(app_path) { %x`bundle exec rails runner "script/program_name.rb"` } end
test_with_hook()
Link