Sha256: cca474022ebf02e0f059878a6b990dc8fc5ab3da272aea0dc17f534afbe436e7

Contents?: true

Size: 485 Bytes

Versions: 4

Compression:

Stored size: 485 Bytes

Contents

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

4 entries across 4 versions & 1 rubygems

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