Sha256: a6ffbff32c56740dc0f3144444228fe946e51b86457eb9c93a0a442c276e0ecb

Contents?: true

Size: 397 Bytes

Versions: 2

Compression:

Stored size: 397 Bytes

Contents

require 'spec_helper'

describe GPX::GeoPoint do
	
	before do
		@geopoint = GPX::GeoPoint.new(latitude: 0, longitude: 0, elevation: 0)
	end
	
	subject { @geopoint }
	
	it { should respond_to :latitude }
	it { should respond_to :latitude= }
	
	it { should respond_to :longitude }
	it { should respond_to :longitude= }
	
	it { should respond_to :elevation }
	it { should respond_to :elevation= }
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gpx_track-0.0.2 spec/lib/geopoint_spec.rb
gpx_track-0.0.1 spec/lib/geopoint_spec.rb