Sha256: 9ed1fe2fc8c3340178a2230cf4b2cf4a0a992bca928bfcca29af9ec3722bdcc9

Contents?: true

Size: 355 Bytes

Versions: 8

Compression:

Stored size: 355 Bytes

Contents

require_relative '../spec_helper'

module Barometer::Data
  describe Coordinates do
    describe '#coordinates' do
      it 'joins latitude and longitude' do
        coordinates = Coordinates.new(
          longitude: '99.99',
          latitude: '88.88'
        )
        expect( coordinates.coordinates ).to eq '88.88,99.99'
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
barometer-0.9.7 spec/data/coordinates_spec.rb
barometer-0.9.6 spec/data/coordinates_spec.rb
barometer-0.9.5 spec/data/coordinates_spec.rb
barometer-0.9.4 spec/data/coordinates_spec.rb
barometer-0.9.3 spec/data/coordinates_spec.rb
barometer-0.9.2 spec/data/coordinates_spec.rb
barometer-0.9.1 spec/data/coordinates_spec.rb
barometer-0.9.0 spec/data/coordinates_spec.rb