Sha256: fa25652e43ef0c53fd01d627a39ec3031b4a79fe47ae3b5af32adade7d44bdd6
Contents?: true
Size: 287 Bytes
Versions: 3
Compression:
Stored size: 287 Bytes
Contents
require 'spec_helper' describe CrazyHarry::Foster do let(:harry){ CrazyHarry } it "should wrap orphaned list items" do harry.fragment('<p><li>orphan</li><ul><li>item</li></p>').foster!.to_s.should == '<ul><li>orphan</li></ul><ul><li>item</li></ul>' end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
crazy_harry-0.2.1 | spec/lib/foster_spec.rb |
crazy_harry-0.2.0 | spec/lib/foster_spec.rb |
crazy_harry-0.1.2 | spec/lib/foster_spec.rb |