Sha256: a29b6d307183eb1dc3c901b38421bdea2fa469d2d68f3785ca2c3005b8c6dbe8
Contents?: true
Size: 878 Bytes
Versions: 8
Compression:
Stored size: 878 Bytes
Contents
require 'spec_helper' verify = lambda { |output| include NokogiriMatchers output.should have_tag('h1') # TODO: This is the next phase #output.should have_tag('h1') do # with_text 'This is a Markdown page' #end } theories = [ { :page => "markdown-page.md", :simple_name => "markdown-page", :syntax => :markdown, :extension => '.html', :matcher => verify }, { :page => "markdown-page.markdown", :simple_name => "markdown-page", :syntax => :markdown, :extension => '.html', :matcher => verify }, { :page => "markdown-page.mkd", :simple_name => "markdown-page", :syntax => :markdown, :extension => '.html', :matcher => verify } ] describe Awestruct::Handlers::TiltHandler.to_s + "-Markdown" do it_should_behave_like "a handler", theories end
Version data entries
8 entries across 8 versions & 1 rubygems