Sha256: 89b768d8afaeb28944bed962ea71b341249e393fcf8d83d6d1b3d6ee919cf1ed

Contents?: true

Size: 430 Bytes

Versions: 3

Compression:

Stored size: 430 Bytes

Contents

require "spec_helper"

describe Rocx::Properties::SnapToGrid do
  include ValuePropertyTestMacros

  it_should_use tag: :snapToGrid, name: "snap_to_grid"

  with_value(:on) do
    it_should_work
    it_should_output "<w:snapToGrid w:val=\"on\"/>"
  end

  with_value(:off) do
    it_should_work
    it_should_output "<w:snapToGrid w:val=\"off\"/>"
  end

  with_value(nil) do
    it_should_work
    it_should_output ""
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rocx-0.7.0 spec/properties/snap_to_grid_spec.rb
rocx-0.6.0 spec/properties/snap_to_grid_spec.rb
rocx-0.5.8 spec/properties/snap_to_grid_spec.rb