spec/markup_spec.rb in docify-1.0.5 vs spec/markup_spec.rb in docify-1.0.6

- old
+ new

@@ -1,15 +1,15 @@ require 'spec_helper' -describe Docify::Markup do +describe 'Docify::Markup' do it 'should render RDoc' do - Docify::Markup.render('README.rdoc', fixture('README.rdoc')).should == fixture('README.rdoc.html') + Docify::Markup.rdoc(fixture('README.rdoc')).should == fixture('README.rdoc.html') end it 'should render Markdown' do - Docify::Markup.render('README.markdown', fixture('README.markdown')).should == fixture('README.markdown.html') + Docify::Markup.markdown(fixture('README.markdown')).should == fixture('README.markdown.html') end it 'should render Textile' do - Docify::Markup.render('README.textile', fixture('README.textile')).should == fixture('README.textile.html') + Docify::Markup.textile(fixture('README.textile')).should == fixture('README.textile.html') end end