aboutsummaryrefslogtreecommitdiffstats
path: root/spec/controllers/admin_request_controller_spec.rb
diff options
context:
space:
mode:
authorRobin Houston <robin.houston@gmail.com>2012-01-17 15:00:50 +0000
committerRobin Houston <robin.houston@gmail.com>2012-01-17 15:00:50 +0000
commit604ec14bc34d4c7b64b7ca36d9fcda03e51daea6 (patch)
tree3fad9930fd3d726416ac2e99f840a23fb5cf51fa /spec/controllers/admin_request_controller_spec.rb
parent6cf896d3f335ce05d144ad6f6c31939e0586a828 (diff)
Replace all `which command` calls
The trouble with `which command` is twofold: - It spawns a whole shell just to find out the path to a binary, every time; - The results are environment-dependent, since they depend on $PATH. It would be better to specify the search path in the configuration file where everything else is specified rather than in the environment. This commit replaces it with the new mechanism from AlaveteliExternalCommand.
Diffstat (limited to 'spec/controllers/admin_request_controller_spec.rb')
0 files changed, 0 insertions, 0 deletions