Skip to content
Browse files

another failing test tag prefixes

  • Loading branch information...
1 parent a74789c commit 841f8acd703b1143144f0920ce871fe05eda9100 @jlong jlong committed
Showing with 6 additions and 0 deletions.
  1. +6 −0 test/parser_test.rb
View
6 test/parser_test.rb
@@ -243,6 +243,12 @@ def test_parse_with_default_tag_prefix
assert_equal "<p>Hello world!</p>", @parser.parse('<p><radius:hello /></p>')
end
+ def test_parse_with_other_radius_like_tags
+ define_tag('hello') { "hello" }
+ @parser = Radius::Parser.new(@context, :tag_prefix => "ralph")
+ assert_equal "hello", @parser.parse("<r:ralph:hello />")
+ end
+
protected
def assert_parse_output(output, input, message = nil)

0 comments on commit 841f8ac

Please sign in to comment.
Something went wrong with that request. Please try again.