From bca36b080b77089cb8b2e8269c6be3b975171216 Mon Sep 17 00:00:00 2001 From: Robin Dupret Date: Fri, 1 Nov 2013 14:42:12 +0100 Subject: 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. --- railties/test/paths_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/test/paths_test.rb') 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 -- cgit v1.2.3