Sha256: 913d078c4e98177a37465f8a6c6b842983cc1fe9812ab58d2fd007854cb2bb6c

Contents?: true

Size: 358 Bytes

Versions: 4

Compression:

Stored size: 358 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
ffi-gdal-1.0.0.beta7 spec/support/shared_examples/ogr/a_line_string.rb
ffi-gdal-1.0.0.beta6 spec/support/shared_examples/ogr/a_line_string.rb
ffi-gdal-1.0.0.beta5 spec/support/shared_examples/ogr/a_line_string.rb
ffi-gdal-1.0.0.beta4 spec/support/shared_examples/ogr/a_line_string.rb