Skip to content
Browse files

Fix failing test related to persist glob when replacing a path

Introduced in pull request #6910, merged in 2ee3fa1
  • Loading branch information...
1 parent 6ebc8ca commit 83302a4c1384c18bec7128ec561eb6a8aa674275 @carlosantoniodasilva carlosantoniodasilva committed Jul 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 railties/test/paths_test.rb
View
2 railties/test/paths_test.rb
@@ -201,7 +201,7 @@ def setup
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

0 comments on commit 83302a4

Please sign in to comment.
Something went wrong with that request. Please try again.