aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2014-06-09 18:13:47 +0200
committerRobin Dupret <robin.dupret@gmail.com>2014-06-21 11:01:23 +0200
commit3136388e550571631d43800a45412788aee55afd (patch)
tree47f64b2387a1660f4dde8f71f6c3cfa36802c41a /actionview
parent0e9a7059664eb9dee8e3afae60d26ff858d0d84b (diff)
downloadrails-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