Sha256: 7bab3874bac7883d727a52a9e02c94271de8171a9c82e176e3d611f88d7c6c5d

Contents?: true

Size: 516 Bytes

Versions: 9

Compression:

Stored size: 516 Bytes

Contents

# frozen_string_literal: true

require 'spec_helper'
require 'gdal/driver'

RSpec.describe GDAL::Driver do
  describe '.short_names' do
    subject { described_class.short_names }

    it 'is an Array of Strings' do
      expect(subject).to be_an Array
      expect(subject.first).to be_a String
    end
  end

  describe '.long_names' do
    subject { described_class.long_names }

    it 'is an Array of Strings' do
      expect(subject).to be_an Array
      expect(subject.first).to be_a String
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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