Sha256: d90dee6ef5d1f7e902d40528a8e50a4bb44effbbe3dca0e158136bec9b817554

Contents?: true

Size: 455 Bytes

Versions: 32

Compression:

Stored size: 455 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

32 entries across 32 versions & 1 rubygems

Version Path
awestruct-0.6.7 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.6.6 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.6.5 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.6.4 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.6.3 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.6.2 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.6.1 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.6.0 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.6.0.RC1 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.6.0.alpha4 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.6.0.alpha3 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.6.0.alpha1 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.5.7 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.5.7.RC2 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.5.7.RC1 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.5.6 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.5.6.beta9 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.5.6.beta8 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.5.6.beta7 spec/awestruct/handlers/orgmode_handler_spec.rb
awestruct-0.5.6.beta6 spec/awestruct/handlers/orgmode_handler_spec.rb