Sha256: 13c34279eccae0836cf06b0f066ddbf915fedffc31e8b4a610c025918a3784e8

Contents?: true

Size: 354 Bytes

Versions: 6

Compression:

Stored size: 354 Bytes

Contents

require_relative '../../spec_helper'

module Barometer::Query
  describe Format::Base do
    describe '.is?' do
      it 'raises an error by default' do
        expect { Format::Base.is?('valid') }.to raise_error(NotImplementedError)
      end
    end

    describe '.geo' do
      specify { expect( Format::Base.geo(nil) ).to be_nil }
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
barometer-0.9.7 spec/query/formats/base_spec.rb
barometer-0.9.6 spec/query/formats/base_spec.rb
barometer-0.9.5 spec/query/formats/base_spec.rb
barometer-0.9.4 spec/query/formats/base_spec.rb
barometer-0.9.3 spec/query/formats/base_spec.rb
barometer-0.9.2 spec/query/formats/base_spec.rb