Sha256: 1f8ee2918fe80b74e343a23b924dda98e1c3ed3ff1619ebd3f36e55b67db5f99

Contents?: true

Size: 474 Bytes

Versions: 9

Compression:

Stored size: 474 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'
require 'ogr/driver'

RSpec.describe OGR::Driver do
  context 'Memory driver' do
    subject(:driver) { OGR::Driver.by_name('Memory') }

    describe '#can_create_data_source?' do
      subject { driver.can_create_data_source? }
      it { is_expected.to eq true }
    end

    describe '#can_delete_data_source?' do
      subject { driver.can_delete_data_source? }
      it { is_expected.to eq false }
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
ffi-gdal-1.0.0.beta16 spec/unit/ogr/driver_mixins/capability_methods_spec.rb
ffi-gdal-1.0.0.beta15 spec/unit/ogr/driver_mixins/capability_methods_spec.rb
ffi-gdal-1.0.0.beta14 spec/unit/ogr/driver_mixins/capability_methods_spec.rb
ffi-gdal-1.0.0.beta13 spec/unit/ogr/driver_mixins/capability_methods_spec.rb
ffi-gdal-1.0.0.beta12 spec/unit/ogr/driver_mixins/capability_methods_spec.rb
ffi-gdal-1.0.0.beta11 spec/unit/ogr/driver_mixins/capability_methods_spec.rb
ffi-gdal-1.0.0.beta10 spec/unit/ogr/driver_mixins/capability_methods_spec.rb
ffi-gdal-1.0.0.beta9 spec/unit/ogr/driver_mixins/capability_methods_spec.rb
ffi-gdal-1.0.0.beta8 spec/unit/ogr/driver_mixins/capability_methods_spec.rb