aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/template/optimized_file_system_resolver_test.rb
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2019-04-15 17:57:39 -0400
committerGitHub <noreply@github.com>2019-04-15 17:57:39 -0400
commitddf471a163e96e52e1a1cc507bde5a0cfe9f643f (patch)
treed4cf5686244e0b64a59253cc5efe7f650b3edbf2 /actionview/test/template/optimized_file_system_resolver_test.rb
parent62b7a521a41011c108815041a975ae3177dfcc09 (diff)
parent2455d16a5a975fa5bf75bdb023df61047b055e3d (diff)
downloadrails-ddf471a163e96e52e1a1cc507bde5a0cfe9f643f.tar.gz
rails-ddf471a163e96e52e1a1cc507bde5a0cfe9f643f.tar.bz2
rails-ddf471a163e96e52e1a1cc507bde5a0cfe9f643f.zip
Merge pull request #35959 from jhawthorn/unbound_templates
De-duplicate templates, introduce UnboundTemplate
Diffstat (limited to 'actionview/test/template/optimized_file_system_resolver_test.rb')
-rw-r--r--actionview/test/template/optimized_file_system_resolver_test.rb12
1 files changed, 12 insertions, 0 deletions
diff --git a/actionview/test/template/optimized_file_system_resolver_test.rb b/actionview/test/template/optimized_file_system_resolver_test.rb
new file mode 100644
index 0000000000..c0c64357ce
--- /dev/null
+++ b/actionview/test/template/optimized_file_system_resolver_test.rb
@@ -0,0 +1,12 @@
+# frozen_string_literal: true
+
+require "abstract_unit"
+require "template/resolver_shared_tests"
+
+class OptimizedFileSystemResolverTest < ActiveSupport::TestCase
+ include ResolverSharedTests
+
+ def resolver
+ ActionView::OptimizedFileSystemResolver.new(tmpdir)
+ end
+end