Sha256: 42f53fc508e34a518daf757ecbcdfaec5fb7929aaa50b200f65fefacceb3aef2
Contents?: true
Size: 475 Bytes
Versions: 3
Compression:
Stored size: 475 Bytes
Contents
require "spec_helper" describe Rocx::Properties::Position do include ValuePropertyTestMacros it_should_use tag: :position, name: "position", value: 1 with_value(204) do it_should_work it_should_output "<w:position w:val=\"204\"/>" end with_value(-612) do it_should_work it_should_output "<w:position w:val=\"-612\"/>" end with_value(812.2) do it_should_not_work end with_value(:something_else) 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/position_spec.rb |
rocx-0.6.0 | spec/properties/position_spec.rb |
rocx-0.5.8 | spec/properties/position_spec.rb |