diff options
author | Robin Dupret <robin.dupret@gmail.com> | 2014-06-09 18:13:47 +0200 |
---|---|---|
committer | Robin Dupret <robin.dupret@gmail.com> | 2014-06-21 11:01:23 +0200 |
commit | 3136388e550571631d43800a45412788aee55afd (patch) | |
tree | 47f64b2387a1660f4dde8f71f6c3cfa36802c41a /actionview | |
parent | 0e9a7059664eb9dee8e3afae60d26ff858d0d84b (diff) | |
download | rails-3136388e550571631d43800a45412788aee55afd.tar.gz rails-3136388e550571631d43800a45412788aee55afd.tar.bz2 rails-3136388e550571631d43800a45412788aee55afd.zip |
Make the isolated tests run on JRuby
As there is no forking on JRuby, we need to spawn sub-processes to make
the tests run in isolation.
Previously, we were defining globally env variables and running the test
file through backticks and delete these variables once the test ran.
Now, we simply rely on IO.popen as this is cross-platform and the env
variables are available during the child-process execution only so there
are no race conditions.
[Ben Browning & Robin Dupret]
Diffstat (limited to 'actionview')
0 files changed, 0 insertions, 0 deletions