Sha256: 07fa87af45067c57d75351612434600166423f44fc9195348de953f3dcd08766

Contents?: true

Size: 285 Bytes

Versions: 10

Compression:

Stored size: 285 Bytes

Contents

require "spec_helper"

describe OpenXml::Docx::Properties::ParagraphStyle do
  include ValuePropertyTestMacros

  it_should_use tag: :pStyle, name: "paragraph_style", value: "Nope"

  with_value("Nope") do
    it_should_work
    it_should_output "<w:pStyle w:val=\"Nope\"/>"
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
openxml-docx-0.10.6 spec/properties/paragraph_style_spec.rb
openxml-docx-0.10.5 spec/properties/paragraph_style_spec.rb
openxml-docx-0.10.4 spec/properties/paragraph_style_spec.rb
openxml-docx-0.10.3 spec/properties/paragraph_style_spec.rb
openxml-docx-0.10.2 spec/properties/paragraph_style_spec.rb
openxml-docx-0.10.1 spec/properties/paragraph_style_spec.rb
openxml-docx-0.10.0 spec/properties/paragraph_style_spec.rb
openxml-docx-0.9.0 spec/properties/paragraph_style_spec.rb
openxml-docx-0.8.0 spec/properties/paragraph_style_spec.rb
openxml-docx-0.8.0.beta1 spec/properties/paragraph_style_spec.rb