Sha256: 00bea1a8612c7eb41c9aa8eb8c17ee41c2463812d1929749ea43a57d7378fd31

Contents?: true

Size: 358 Bytes

Versions: 10

Compression:

Stored size: 358 Bytes

Contents

require "spec_helper"

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

  it_should_use tag: :next, name: "next_style", value: "Style Name"

  with_value("The Name of a Style") do
    it_should_work
    it_should_output "<w:next w:val=\"The Name of a Style\"/>"
  end

  with_value("") do
    it_should_not_work
  end

end

Version data entries

10 entries across 10 versions & 1 rubygems

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