From 83302a4c1384c18bec7128ec561eb6a8aa674275 Mon Sep 17 00:00:00 2001 From: Carlos Antonio da Silva Date: Sun, 1 Jul 2012 13:54:42 -0300 Subject: [PATCH] Fix failing test related to persist glob when replacing a path Introduced in pull request #6910, merged in 2ee3fa1a48513a2c42833e2e1f60fe03769bc295 --- railties/test/paths_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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