aboutsummaryrefslogtreecommitdiffstats
path: root/actionview
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2017-10-19 11:12:22 +0900
committerGitHub <noreply@github.com>2017-10-19 11:12:22 +0900
commita69f423e8b3adf6a4dcad44bbcdeddc94e103c7d (patch)
treebdd0732141e53684a88379390e68c116c1ba3e62 /actionview
parent9138f2da220cd14c5617e9e2f35d05ab92b414c6 (diff)
parent0e47e58a96c2cd6d7f655d0ccf35737ac5fbf80c (diff)
downloadrails-a69f423e8b3adf6a4dcad44bbcdeddc94e103c7d.tar.gz
rails-a69f423e8b3adf6a4dcad44bbcdeddc94e103c7d.tar.bz2
rails-a69f423e8b3adf6a4dcad44bbcdeddc94e103c7d.zip
Merge pull request #30927 from y-yagi/remove_unused_fixture_template
Remove unused `FixtureTemplate` class
Diffstat (limited to 'actionview')
-rw-r--r--actionview/test/template/digestor_test.rb11
1 files changed, 0 insertions, 11 deletions
diff --git a/actionview/test/template/digestor_test.rb b/actionview/test/template/digestor_test.rb
index 928b1ac7dd..1bfa39a319 100644
--- a/actionview/test/template/digestor_test.rb
+++ b/actionview/test/template/digestor_test.rb
@@ -4,17 +4,6 @@ require "abstract_unit"
require "fileutils"
require "action_view/dependency_tracker"
-class FixtureTemplate
- attr_reader :source, :handler
-
- def initialize(template_path)
- @source = File.read(template_path)
- @handler = ActionView::Template.handler_for_extension(:erb)
- rescue Errno::ENOENT
- raise ActionView::MissingTemplate.new([], "", [], true, [])
- end
-end
-
class FixtureFinder < ActionView::LookupContext
FIXTURES_DIR = File.expand_path("../fixtures/digestor", __dir__)