aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorŁukasz Strzałkowski <lukasz.strzalkowski@gmail.com>2013-07-16 16:25:13 +0200
committerŁukasz Strzałkowski <lukasz.strzalkowski@gmail.com>2013-08-25 11:39:10 +0200
commit21c5f2845de42fb2f5feee47d4270c18a4a4d5b0 (patch)
treeea345262e8c58573b4ef11572e901180c27a85b1 /actionpack
parent37d77f6b9ddc989f4ad9a0b4be5e2143efafcf9e (diff)
downloadrails-21c5f2845de42fb2f5feee47d4270c18a4a4d5b0.tar.gz
rails-21c5f2845de42fb2f5feee47d4270c18a4a4d5b0.tar.bz2
rails-21c5f2845de42fb2f5feee47d4270c18a4a4d5b0.zip
Remove RenderERBUtils from AP (only AV use it)
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/abstract_unit.rb22
1 files changed, 0 insertions, 22 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb
index c3496a8b6f..a0d90f7eee 100644
--- a/actionpack/test/abstract_unit.rb
+++ b/actionpack/test/abstract_unit.rb
@@ -64,28 +64,6 @@ module RackTestUtils
extend self
end
-module RenderERBUtils
- def view
- @view ||= begin
- path = ActionView::FileSystemResolver.new(FIXTURE_LOAD_PATH)
- view_paths = ActionView::PathSet.new([path])
- ActionView::Base.new(view_paths)
- end
- end
-
- def render_erb(string)
- @virtual_path = nil
-
- template = ActionView::Template.new(
- string.strip,
- "test template",
- ActionView::Template::Handlers::ERB,
- {})
-
- template.render(self, {}).strip
- end
-end
-
SharedTestRoutes = ActionDispatch::Routing::RouteSet.new
module ActionDispatch