aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/paths_test.rb
diff options
context:
space:
mode:
authorRobin Dupret <robin.dupret@gmail.com>2013-11-01 14:42:12 +0100
committerRobin Dupret <robin.dupret@gmail.com>2013-11-01 14:42:12 +0100
commitbca36b080b77089cb8b2e8269c6be3b975171216 (patch)
tree8c9c0f234a733a71ddee20eedadb8a3b403edca4 /railties/test/paths_test.rb
parent1a566c87cb75b22be28917b0dd24fd7112d3235d (diff)
downloadrails-bca36b080b77089cb8b2e8269c6be3b975171216.tar.gz
rails-bca36b080b77089cb8b2e8269c6be3b975171216.tar.bz2
rails-bca36b080b77089cb8b2e8269c6be3b975171216.zip
Fix some failing tests for Rails::Paths
Since we are not using the File.exists? alias which raises a warning on current ruby trunk, few stubs are wrong.
Diffstat (limited to 'railties/test/paths_test.rb')
-rw-r--r--railties/test/paths_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/paths_test.rb b/railties/test/paths_test.rb
index 178c505865..ed4559ec6f 100644
--- a/railties/test/paths_test.rb
+++ b/railties/test/paths_test.rb
@@ -3,7 +3,7 @@ require 'rails/paths'
class PathsTest < ActiveSupport::TestCase
def setup
- File.stubs(:exists?).returns(true)
+ File.stubs(:exist?).returns(true)
@root = Rails::Paths::Root.new("/foo/bar")
end