Sha256: 6221a87a3ae5b2844b0a02dd0309fa5c9a10b505fa88dd36c577e13191ff2bd3
Contents?: true
Size: 423 Bytes
Versions: 1
Compression:
Stored size: 423 Bytes
Contents
require 'spec_helper' describe DocxGenerator::Word::Extensions do describe "space" do it "should render a space" do DocxGenerator::Word::Extensions.space.to_s.should eq("<w:r><w:t xml:space=\"preserve\"> </w:t></w:r>") end end describe "newline" do it "should render a newline" do DocxGenerator::Word::Extensions::Newline.new.generate.to_s.should eq("<w:r><w:br /></w:r>") end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
docx_generator-0.1.1 | spec/docx_generator/word/extensions_spec.rb |