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:
parent
6ebc8ca36c
commit
83302a4c13
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue