diff options
author | Alex Johnson <notalexjohnson@gmail.com> | 2013-11-04 17:27:23 +0530 |
---|---|---|
committer | Alex Johnson <notalexjohnson@gmail.com> | 2013-11-05 10:50:03 +0530 |
commit | 01ef2c1943cd813f3fd262602f518640f66db834 (patch) | |
tree | 4ba7a87221e1fcb21a624ebe7afa710fa2e61ac7 /actionview/test/actionpack/abstract | |
parent | 84eac5dab8b0fe9ee20b51250e52ad7bfea36553 (diff) | |
download | rails-01ef2c1943cd813f3fd262602f518640f66db834.tar.gz rails-01ef2c1943cd813f3fd262602f518640f66db834.tar.bz2 rails-01ef2c1943cd813f3fd262602f518640f66db834.zip |
Refactor File.expand_path usage to remove additional File.join
Diffstat (limited to 'actionview/test/actionpack/abstract')
-rw-r--r-- | actionview/test/actionpack/abstract/helper_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionview/test/actionpack/abstract/helper_test.rb b/actionview/test/actionpack/abstract/helper_test.rb index 4e05245584..89c4567715 100644 --- a/actionview/test/actionpack/abstract/helper_test.rb +++ b/actionview/test/actionpack/abstract/helper_test.rb @@ -52,7 +52,7 @@ module AbstractController class AbstractInvalidHelpers < AbstractHelpers include ActionController::Helpers - path = File.join(File.expand_path('../../../fixtures', __FILE__), "helpers_missing") + path = File.expand_path('../../../fixtures/helpers_missing', __FILE__) $:.unshift(path) self.helpers_path = path end |