require 'spec_helper'
require 'org-ruby'

verify = lambda { |output|
   output.should =~ %r(<h1 class="title">Fruit</h1>)
   output.should =~ %r(<p>Apples are red</p>)
}

theories =
  [
    {
      :page => "orgmode-page.org",
      :simple_name => "orgmode-page",
      :syntax => :orgmod,
      :extension => '.html',
      :matcher => verify
    }
  ]

describe Awestruct::Handlers::TiltHandler.to_s + "-OrgMode" do

  it_should_behave_like "a handler", theories

end
require 'spec_helper'
require 'org-ruby'

verify = lambda { |output|
   output.should =~ %r(<h1>Fruit</h1>)
   output.should =~ %r(<p>Apples are red</p>)
}

theories =
  [
    {
      :page => "orgmode-page.org",
      :simple_name => "orgmode-page",
      :syntax => :orgmod,
      :extension => '.html',
      :matcher => verify
    }
  ]

describe Awestruct::Handlers::TiltHandler.to_s + "-OrgMode" do

  it_should_behave_like "a handler", theories

end
Update Spec to match new OrgMod output
Update Spec to match new OrgMod output

CI is failing due to changes in OrgMod's rendered output.

<h1 class="title"> is now rendered as <h1>
