diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-07-01 13:54:42 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-07-01 13:56:11 -0300 |
commit | 83302a4c1384c18bec7128ec561eb6a8aa674275 (patch) | |
tree | 1475faf1dc30db3d6ec3204150bda4460d6b5d8a /railties/test | |
parent | 6ebc8ca36c1840969cd5d003d9eb97bcad106d1c (diff) | |
download | rails-83302a4c1384c18bec7128ec561eb6a8aa674275.tar.gz rails-83302a4c1384c18bec7128ec561eb6a8aa674275.tar.bz2 rails-83302a4c1384c18bec7128ec561eb6a8aa674275.zip |
Fix failing test related to persist glob when replacing a path
Introduced in pull request #6910, merged in 2ee3fa1a48513a2c42833e2e1f60fe03769bc295
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/paths_test.rb | 2 |
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 |