Sha256: 5d96d7d4b69d40c52a35d9dd3402df2711722a6d633b9676367326d6628b25a5

Contents?: true

Size: 362 Bytes

Versions: 1

Compression:

Stored size: 362 Bytes

Contents

require_relative "./helpers"

describe RedCloth::Formatters::RDoc do
  
  it "should convert the textile fixture to the rdoc fixture" do
    textile = File.open("spec/fixtures/sample.textile", "r"){ |file| file.read }
    rdoc    = File.open("spec/fixtures/sample.rdoc", "r"){ |file| file.read }
    
    RedCloth.new(textile).to_rdoc.should == rdoc
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
redcloth-formatters-rdoc-0.0.1 spec/rdoc_spec.rb