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:
Waseem Ahmad 2012-05-25 09:49:34 +05:30
parent 641ab7cedf
commit baa336364d
1 changed files with 2 additions and 2 deletions

View File

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