1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix failing test related to persist glob when replacing a path

Introduced in pull request #6910, merged in 2ee3fa1a48
This commit is contained in:
Carlos Antonio da Silva 2012-07-01 13:54:42 -03:00
parent 6ebc8ca36c
commit 83302a4c13

View file

@ -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