Sha256: edbbe8000c963af1660ad138a6747c9549b49d7fe2b934b513617e42827dea9a

Contents?: true

Size: 389 Bytes

Versions: 9

Compression:

Stored size: 389 Bytes

Contents

# frozen_string_literal: true

RSpec.shared_examples 'a line string' do
  describe '#dimension' do
    subject { geometry.dimension }
    it { is_expected.to eq 1 }
  end

  describe '#type' do
    subject { geometry.type }
    it { is_expected.to eq :wkbLineString }
  end

  describe '#type_to_name' do
    subject { geometry.type }
    it { is_expected.to eq :wkbLineString }
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ffi-gdal-1.0.0.beta16 spec/support/shared_examples/ogr/a_line_string.rb
ffi-gdal-1.0.0.beta15 spec/support/shared_examples/ogr/a_line_string.rb
ffi-gdal-1.0.0.beta14 spec/support/shared_examples/ogr/a_line_string.rb
ffi-gdal-1.0.0.beta13 spec/support/shared_examples/ogr/a_line_string.rb
ffi-gdal-1.0.0.beta12 spec/support/shared_examples/ogr/a_line_string.rb
ffi-gdal-1.0.0.beta11 spec/support/shared_examples/ogr/a_line_string.rb
ffi-gdal-1.0.0.beta10 spec/support/shared_examples/ogr/a_line_string.rb
ffi-gdal-1.0.0.beta9 spec/support/shared_examples/ogr/a_line_string.rb
ffi-gdal-1.0.0.beta8 spec/support/shared_examples/ogr/a_line_string.rb