test/test_contentprocessor_rdiscount.rb in gettalong-webgen-0.5.7.20090227 vs test/test_contentprocessor_rdiscount.rb in gettalong-webgen-0.5.8.20090507
- old
+ new
@@ -8,10 +8,10 @@
class TestContentProcessorRDiscount < Test::Unit::TestCase
def test_call
@obj = Webgen::ContentProcessor::RDiscount.new
node = Webgen::Node.new(Webgen::Node.new(Webgen::Tree.new.dummy_root, '/', '/'), 'test', 'test')
- context = Webgen::ContentProcessor::Context.new(:content => '# header', :chain => [node])
+ context = Webgen::Context.new(:content => '# header', :chain => [node])
assert_equal("<h1>header</h1>\n", @obj.call(context).content)
end
end