Sha256: 11bcb21ac6688de5fbafadbccdfe184c5e8b263d0d6e6b9f59d6465c31cfdea9

Contents?: true

Size: 388 Bytes

Versions: 8

Compression:

Stored size: 388 Bytes

Contents

require "spec_helper"

describe OpenXml::Docx::Properties::Language do
  include PropertyTestMacros

  it_should_use tag: :lang, name: "language"

  for_attribute(:bidi) do
    it_should_assign_and_output_xml "en-US"
  end

  for_attribute(:east_asia) do
    it_should_assign_and_output_xml "ko-KR"
  end

  for_attribute(:latin) do
    it_should_assign_and_output_xml "fr-CA"
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

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