aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Valim <jose.valim@gmail.com>2012-05-24 23:23:05 -0700
committerJosé Valim <jose.valim@gmail.com>2012-05-24 23:23:05 -0700
commitec8c4b5a833526c7f1f9d5d1f3fd566cf386f47e (patch)
tree060c14669dff699fa39ee2d8c1a8e4f47b2c3158
parent641ab7cedfea24e2309dbf1d92ea2cbc26f5c8ed (diff)
parentbaa336364da932ccaee6bb724ab615145e63c4d3 (diff)
downloadrails-ec8c4b5a833526c7f1f9d5d1f3fd566cf386f47e.tar.gz
rails-ec8c4b5a833526c7f1f9d5d1f3fd566cf386f47e.tar.bz2
rails-ec8c4b5a833526c7f1f9d5d1f3fd566cf386f47e.zip
Merge pull request #6482 from waseem/fix_build_4008
Fixes build 4008.1
-rw-r--r--railties/test/paths_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/test/paths_test.rb b/railties/test/paths_test.rb
index aa04cad033..5d6b6f9f72 100644
--- a/railties/test/paths_test.rb
+++ b/railties/test/paths_test.rb
@@ -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