diff options
author | Yves Senn <yves.senn@gmail.com> | 2013-11-05 01:35:28 -0800 |
---|---|---|
committer | Yves Senn <yves.senn@gmail.com> | 2013-11-05 01:35:28 -0800 |
commit | 7d17b1dedbce7daf5c5c5b39eff1c2f5661fab0e (patch) | |
tree | 4b36b61e883682a2fc6f846ef9f4b91028343c86 /actionview/test/actionpack/abstract/helper_test.rb | |
parent | 026d0555685087845b74dd87a0417b5a164b1c13 (diff) | |
parent | 01ef2c1943cd813f3fd262602f518640f66db834 (diff) | |
download | rails-7d17b1dedbce7daf5c5c5b39eff1c2f5661fab0e.tar.gz rails-7d17b1dedbce7daf5c5c5b39eff1c2f5661fab0e.tar.bz2 rails-7d17b1dedbce7daf5c5c5b39eff1c2f5661fab0e.zip |
Merge pull request #12752 from notalex/expand_path_refactoring
Refactor File.expand_path usage to remove additional File.join
Diffstat (limited to 'actionview/test/actionpack/abstract/helper_test.rb')
-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 |