Permalink
Browse files

Simplify path setup

  • Loading branch information...
1 parent 9023e3b commit bfc2b23128fb6157d9bdaa2d2e957162fc4090db @carlosantoniodasilva carlosantoniodasilva committed Jul 31, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/generators/generators_test_helper.rb
@@ -7,7 +7,7 @@ module Rails
class << self
remove_possible_method :root
def root
- @root ||= File.expand_path(File.join(File.dirname(__FILE__), '..', 'fixtures'))
+ @root ||= File.expand_path('../../fixtures', __FILE__)
end
end
end

0 comments on commit bfc2b23

Please sign in to comment.