Skip to content
This repository
Browse code

Fix failing test related to persist glob when replacing a path

Introduced in pull request #6910, merged in 2ee3fa1
  • Loading branch information...
commit 83302a4c1384c18bec7128ec561eb6a8aa674275 1 parent 6ebc8ca
Carlos Antonio da Silva authored July 01, 2012

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  railties/test/paths_test.rb
2  railties/test/paths_test.rb
@@ -201,7 +201,7 @@ def setup
201 201
   test "it should be possible to replace a path and persist the original paths glob" do
202 202
     @root.add "app", :glob => "*.rb"
203 203
     @root["app"] = "app2"
204  
-    assert_equal ["/foo/bar/app2"], @root["app"].paths
  204
+    assert_equal ["/foo/bar/app2"], @root["app"].to_a
205 205
     assert_equal "*.rb", @root["app"].glob
206 206
   end
207 207
 

0 notes on commit 83302a4

Please sign in to comment.
Something went wrong with that request. Please try again.