aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/erb/util/h_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/erb/util/h_spec.rb')
-rw-r--r--spec/ruby/library/erb/util/h_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/ruby/library/erb/util/h_spec.rb b/spec/ruby/library/erb/util/h_spec.rb
new file mode 100644
index 0000000000..ba36574433
--- /dev/null
+++ b/spec/ruby/library/erb/util/h_spec.rb
@@ -0,0 +1,7 @@
+require 'erb'
+require File.expand_path('../../../../spec_helper', __FILE__)
+require File.expand_path('../shared/html_escape', __FILE__)
+
+describe "ERB::Util.h" do
+ it_behaves_like :erb_util_html_escape, :h
+end