mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fixes build 4008.1
This fixex build 4008.1[1] because of the changes made in
4001835db0
[1] http://travis-ci.org/#!/rails/rails/jobs/1429671
This commit is contained in:
parent
641ab7cedf
commit
baa336364d
1 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ class PathsTest < ActiveSupport::TestCase
|
|||
test "creating a root level path" do
|
||||
@root.add "app"
|
||||
assert_equal ["/foo/bar/app"], @root["app"].to_a
|
||||
assert_equal [Pathname.new("/foo/bar/app")], @root["app"].paths
|
||||
assert_equal ["/foo/bar/app"], @root["app"].paths
|
||||
end
|
||||
|
||||
test "creating a root level path with options" do
|
||||
|
@ -192,7 +192,7 @@ class PathsTest < ActiveSupport::TestCase
|
|||
@root["app"] = "/app"
|
||||
@root["app"].glob = "*.rb"
|
||||
assert_equal "*.rb", @root["app"].glob
|
||||
assert_equal [Pathname.new("/app")], @root["app"].paths
|
||||
assert_equal ["/foo/bar/app"], @root["app"].paths
|
||||
end
|
||||
|
||||
test "it should be possible to override a path's default glob without assignment" do
|
||||
|
|
Loading…
Reference in a new issue