mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Removing unnecessary code
Signed-off-by: José Valim <jose.valim@gmail.com>
This commit is contained in:
@@ -24,13 +24,6 @@ class UrlHelperTest < ActiveSupport::TestCase
|
||||
include ActionView::Context
|
||||
include RenderERBUtils
|
||||
|
||||
# self.default_url_options = {:host => "www.example.com"}
|
||||
|
||||
# TODO: This shouldn't be needed (see template.rb:53)
|
||||
def assigns
|
||||
{}
|
||||
end
|
||||
|
||||
def hash_for(opts = [])
|
||||
ActiveSupport::OrderedHash[*([:controller, "foo", :action, "bar"].concat(opts))]
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user