1
0
Fork 0
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:
Waseem Ahmad 2012-05-25 09:49:34 +05:30
parent 641ab7cedf
commit baa336364d

View file

@ -29,7 +29,7 @@ class PathsTest < ActiveSupport::TestCase
test "creating a root level path" do test "creating a root level path" do
@root.add "app" @root.add "app"
assert_equal ["/foo/bar/app"], @root["app"].to_a 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 end
test "creating a root level path with options" do test "creating a root level path with options" do
@ -192,7 +192,7 @@ class PathsTest < ActiveSupport::TestCase
@root["app"] = "/app" @root["app"] = "/app"
@root["app"].glob = "*.rb" @root["app"].glob = "*.rb"
assert_equal "*.rb", @root["app"].glob assert_equal "*.rb", @root["app"].glob
assert_equal [Pathname.new("/app")], @root["app"].paths assert_equal ["/foo/bar/app"], @root["app"].paths
end end
test "it should be possible to override a path's default glob without assignment" do test "it should be possible to override a path's default glob without assignment" do