aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template
diff options
context:
space:
mode:
authorwycats <wycats@gmail.com>2011-05-22 23:38:10 -0700
committerwycats <wycats@gmail.com>2011-05-22 23:38:50 -0700
commit0a587eecc9a1c6f711c727694af3467fd33b4914 (patch)
treee3a0736c04673fafe3d3df5bc2593cf433c6505d /actionpack/test/template
parent750194340c730b7d64e77f8402d546ed03111e09 (diff)
downloadrails-0a587eecc9a1c6f711c727694af3467fd33b4914.tar.gz
rails-0a587eecc9a1c6f711c727694af3467fd33b4914.tar.bz2
rails-0a587eecc9a1c6f711c727694af3467fd33b4914.zip
Prepare the context in URLHelperTest so that there are no required uninitialized instance variables
Diffstat (limited to 'actionpack/test/template')
-rw-r--r--actionpack/test/template/url_helper_test.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/template/url_helper_test.rb b/actionpack/test/template/url_helper_test.rb
index 8d0f0124c2..4aa45c8bf0 100644
--- a/actionpack/test/template/url_helper_test.rb
+++ b/actionpack/test/template/url_helper_test.rb
@@ -25,6 +25,8 @@ class UrlHelperTest < ActiveSupport::TestCase
include ActionView::Context
include RenderERBUtils
+ setup :_prepare_context
+
def hash_for(opts = [])
ActiveSupport::OrderedHash[*([:controller, "foo", :action, "bar"].concat(opts))]
end