Sha256: 0168d32456114bc2899c6fe27c0f41598c1acaef281079ba7ac2fd6341ced540
Contents?: true
Size: 420 Bytes
Versions: 3
Compression:
Stored size: 420 Bytes
Contents
require "spec_helper" describe Rocx::Properties::ComplexFontSize do include ValuePropertyTestMacros it_should_use tag: :szCs, name: "complex_font_size", value: 22 with_value(20) do it_should_work it_should_output "<w:szCs w:val=\"20\"/>" end with_value(-20) do it_should_not_work end with_value(23.1) do it_should_not_work end with_value(:big) do it_should_not_work end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
rocx-0.7.0 | spec/properties/complex_font_size_spec.rb |
rocx-0.6.0 | spec/properties/complex_font_size_spec.rb |
rocx-0.5.8 | spec/properties/complex_font_size_spec.rb |