Sha256: 75bda435246431e55d494e006fb9bcb67aff6961af026f71eefc0a446fbf2fac

Contents?: true

Size: 456 Bytes

Versions: 8

Compression:

Stored size: 456 Bytes

Contents

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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
awestruct-0.5.4.beta1 spec/orgmode_handler_spec.rb
awestruct-0.5.3 spec/orgmode_handler_spec.rb
awestruct-0.5.2.1 spec/orgmode_handler_spec.rb
awestruct-0.5.2 spec/orgmode_handler_spec.rb
awestruct-0.5.1 spec/orgmode_handler_spec.rb
awestruct-0.5.1a spec/orgmode_handler_spec.rb
awestruct-0.5.0 spec/orgmode_handler_spec.rb
awestruct-0.5.0.cr spec/orgmode_handler_spec.rb