aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 491c45da70..76ff3ec3e4 100644
--- a/railties/test/paths_test.rb
+++ b/railties/test/paths_test.rb
@@ -201,7 +201,7 @@ class PathsTest < ActiveSupport::TestCase
test "it should be possible to replace a path and persist the original paths glob" do
@root.add "app", :glob => "*.rb"
@root["app"] = "app2"
- assert_equal ["/foo/bar/app2"], @root["app"].paths
+ assert_equal ["/foo/bar/app2"], @root["app"].to_a
assert_equal "*.rb", @root["app"].glob
end