aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/runner_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'railties/test/application/runner_test.rb')
-rw-r--r--railties/test/application/runner_test.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/railties/test/application/runner_test.rb b/railties/test/application/runner_test.rb
index 9f15ce5e85..84d90cc6d7 100644
--- a/railties/test/application/runner_test.rb
+++ b/railties/test/application/runner_test.rb
@@ -8,7 +8,6 @@ module ApplicationTests
def setup
build_app
- boot_rails
# Lets create a model so we have something to play with
app_file "app/models/user.rb", <<-MODEL
@@ -76,12 +75,12 @@ module ApplicationTests
def test_runner_detects_syntax_errors
Dir.chdir(app_path) { `bin/rails runner "puts 'hello world" 2>&1` }
- refute $?.success?
+ refute $?.success?
end
def test_runner_detects_bad_script_name
Dir.chdir(app_path) { `bin/rails runner "iuiqwiourowe" 2>&1` }
- refute $?.success?
+ refute $?.success?
end
def test_environment_with_rails_env