aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/actionpack/abstract
diff options
context:
space:
mode:
authorAlex Johnson <notalexjohnson@gmail.com>2013-11-04 17:27:23 +0530
committerAlex Johnson <notalexjohnson@gmail.com>2013-11-05 10:50:03 +0530
commit01ef2c1943cd813f3fd262602f518640f66db834 (patch)
tree4ba7a87221e1fcb21a624ebe7afa710fa2e61ac7 /actionview/test/actionpack/abstract
parent84eac5dab8b0fe9ee20b51250e52ad7bfea36553 (diff)
downloadrails-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.rb2
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