Sha256: 33a39dd77788df73913c137baee5c687eedc852a7387c4ec697a90814a4e0c5d

Contents?: true

Size: 443 Bytes

Versions: 4

Compression:

Stored size: 443 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

Version Path
ffi-gdal-1.0.0.beta7 spec/unit/ogr/driver_mixins/capability_methods_spec.rb
ffi-gdal-1.0.0.beta6 spec/unit/ogr/driver_mixins/capability_methods_spec.rb
ffi-gdal-1.0.0.beta5 spec/unit/ogr/driver_mixins/capability_methods_spec.rb
ffi-gdal-1.0.0.beta4 spec/unit/ogr/driver_mixins/capability_methods_spec.rb