Sha256: e776d29689935783197802f7131cbf323e2f7602c7da0e5ef309ddab6d509be9
Contents?: true
Size: 719 Bytes
Versions: 10
Compression:
Stored size: 719 Bytes
Contents
require "spec_helper" describe OpenXml::Docx::Properties::Emphasis do include ValuePropertyTestMacros it_should_use tag: :em, name: "emphasis", value: :circle with_value(:circle) do it_should_work it_should_output "<w:em w:val=\"circle\"/>" end with_value(:comma) do it_should_work it_should_output "<w:em w:val=\"comma\"/>" end with_value(:dot) do it_should_work it_should_output "<w:em w:val=\"dot\"/>" end with_value(:none) do it_should_work it_should_output "<w:em w:val=\"none\"/>" end with_value(:underDot) do it_should_work it_should_output "<w:em w:val=\"underDot\"/>" end with_value(:somethingElse) do it_should_not_work end end
Version data entries
10 entries across 10 versions & 1 rubygems