Sha256: d8e46595d6657e0fddaa2f4d1d0250f7a4fd661c81fa609e7b4489df692f22c5
Contents?: true
Size: 349 Bytes
Versions: 1
Compression:
Stored size: 349 Bytes
Contents
describe JekyllPagesApi::Filters do describe '#condense' do it "removes line breaks" do expect(subject.condense("foo\n bar")).to eq('foo bar') end end describe '#text_only' do it "removes HTML" do expect(subject.text_only(test_html)).to eq('some text') end end def test_html '<p>some text</p>' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
jekyll_pages_api-0.1.6 | spec/filters_spec.rb |