aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/application/asset_debugging_test.rb
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2013-06-17 17:37:54 -0700
committerSantiago Pastorino <santiago@wyeworks.com>2013-06-17 17:37:54 -0700
commit9ec2e2ee91568af24e09760a6de2890b89c33f56 (patch)
tree1a318f9ad8ebfbacdc56d488298d5eb1e2c244b0 /railties/test/application/asset_debugging_test.rb
parente086ff563569f72a156fe105cc47767ad376cc3f (diff)
parent55d708d5974351eb64c5977d82fff0ae6cd1451f (diff)
downloadrails-9ec2e2ee91568af24e09760a6de2890b89c33f56.tar.gz
rails-9ec2e2ee91568af24e09760a6de2890b89c33f56.tar.bz2
rails-9ec2e2ee91568af24e09760a6de2890b89c33f56.zip
Merge pull request #10902 from wangjohn/removing_application_singleton_calls
Calls to the application constant have been refactored
Diffstat (limited to 'railties/test/application/asset_debugging_test.rb')
-rw-r--r--railties/test/application/asset_debugging_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/application/asset_debugging_test.rb b/railties/test/application/asset_debugging_test.rb
index b3b40448c0..9a571fac3a 100644
--- a/railties/test/application/asset_debugging_test.rb
+++ b/railties/test/application/asset_debugging_test.rb
@@ -14,7 +14,7 @@ module ApplicationTests
app_file "app/views/posts/index.html.erb", "<%= javascript_include_tag 'application' %>"
app_file "config/routes.rb", <<-RUBY
- AppTemplate::Application.routes.draw do
+ Rails.application.routes.draw do
get '/posts', to: "posts#index"
end
RUBY