From 685a9195aa1dcf0231806fe3bc27783145e2100f Mon Sep 17 00:00:00 2001 From: Guillermo Iguaran Date: Tue, 24 May 2011 20:52:38 -0500 Subject: Removing deprecated config.paths.app.controller API --- railties/test/application/paths_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/test') diff --git a/railties/test/application/paths_test.rb b/railties/test/application/paths_test.rb index b1ff6e9cb1..03e0247556 100644 --- a/railties/test/application/paths_test.rb +++ b/railties/test/application/paths_test.rb @@ -61,7 +61,7 @@ module ApplicationTests end test "environments has a glob equal to the current environment" do - assert_equal "#{Rails.env}.rb", @paths.config.environments.glob + assert_equal "#{Rails.env}.rb", @paths["config/environments"].glob end test "load path includes each of the paths in config.paths as long as the directories exist" do -- cgit v1.2.3