Sha256: b3ec240bed3c900aab2243b4955594fd731702ba569d5a311cf3bddefc7d0838

Contents?: true

Size: 382 Bytes

Versions: 14

Compression:

Stored size: 382 Bytes

Contents

require "spec/spec_helper"

describe Irwi::Formatters::RedCloth do
        
  before(:each) do
    @f = Irwi::Formatters::RedCloth.new
  end
     
  specify "should proces bold text" do
    @f.format('*Place* ff').should == '<p><strong>Place</strong> ff</p>'
  end
  
  specify "should proces italic text" do
    @f.format('_Mom_ ff').should == '<p><em>Mom</em> ff</p>'
  end
  
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
irwi-0.2.4 spec/formatters/red_cloth_spec.rb
irwi-0.2.3 spec/formatters/red_cloth_spec.rb
irwi-0.2.2 spec/formatters/red_cloth_spec.rb
irwi-0.2.1 spec/formatters/red_cloth_spec.rb
irwi-0.2.0 spec/formatters/red_cloth_spec.rb
irwi-0.1.11 spec/formatters/red_cloth_spec.rb
irwi-0.1.10 spec/formatters/red_cloth_spec.rb
irwi-0.1.9 spec/formatters/red_cloth_spec.rb
irwi-0.1.7 spec/formatters/red_cloth_spec.rb
irwi-0.1.6 spec/formatters/red_cloth_spec.rb
irwi-0.1.5 spec/formatters/red_cloth_spec.rb
irwi-0.1.4 spec/formatters/red_cloth_spec.rb
irwi-0.1.3 spec/formatters/red_cloth_spec.rb
irwi-0.1.2 spec/formatters/red_cloth_spec.rb