test/quickstart_test.rb in radius-ts-1.1.0 vs test/quickstart_test.rb in radius-ts-1.3.0

- old
+ new

@@ -1,6 +1,6 @@ -require File.join(File.dirname(__FILE__), 'test_helper') +require File.expand_path(File.dirname(__FILE__) + '/test_helper') class QuickstartTest < Test::Unit::TestCase def test_hello_world context = Radius::Context.new @@ -18,10 +18,10 @@ context.define_tag "textile" do |tag| contents = tag.expand RedCloth.new(contents).to_html end parser = Radius::Parser.new(context) - assert_equal "<h1>Hello <b>World</b>!</h1>", parser.parse('<radius:textile>h1. Hello **World**!</radius:textile>') + assert_equal "<p>Hello <b>World</b>!</p>", parser.parse('<radius:textile>Hello **World**!</radius:textile>') end def test_nested_example context = Radius::Context.new