diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-10-20 17:04:31 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-20 17:04:31 +0900 |
commit | 814e59cfe29927386e4b59b6bb008b679179f1d1 (patch) | |
tree | 95b47a270170218709c4a0f95caf31b5a2c1c7cc | |
parent | a52ff1b0848e8bb2310738ec7b762b82edbbfcb2 (diff) | |
parent | e0b11a241783ddf087ef383fa931b5b63c3a805e (diff) | |
download | rails-814e59cfe29927386e4b59b6bb008b679179f1d1.tar.gz rails-814e59cfe29927386e4b59b6bb008b679179f1d1.tar.bz2 rails-814e59cfe29927386e4b59b6bb008b679179f1d1.zip |
Merge pull request #30938 from y-yagi/_return_correct_exit_status_of_ujs_test
Return correct exit status of ujs test
-rw-r--r-- | actionview/Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/Rakefile b/actionview/Rakefile index 5f1c055692..9e5ef35334 100644 --- a/actionview/Rakefile +++ b/actionview/Rakefile @@ -46,7 +46,7 @@ namespace :test do end system("npm run lint && bundle exec ruby ../ci/qunit-selenium-runner.rb http://localhost:4567/") - status = $?.to_i + status = $?.exitstatus ensure Process.kill("KILL", pid) if pid FileUtils.rm_rf("log") |