Sha256: a7d0f903422895a8b25acdee66c05af6452bb8d32c707862825e8a08d03baa6c
Contents?: true
Size: 553 Bytes
Versions: 3
Compression:
Stored size: 553 Bytes
Contents
require "spec_helper" describe Rocx::Properties::Expansion do include ValuePropertyTestMacros it_should_use tag: :w, name: "expansion", value: "100%" with_value("1%") do it_should_work it_should_output "<w:w w:val=\"1%\"/>" end with_value(1) do it_should_not_work end with_value("0%") do it_should_not_work end with_value(600) do it_should_not_work end with_value("600%") do it_should_work it_should_output "<w:w w:val=\"600%\"/>" end with_value("601%") 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/expansion_spec.rb |
rocx-0.6.0 | spec/properties/expansion_spec.rb |
rocx-0.5.8 | spec/properties/expansion_spec.rb |