Sha256: 298bd4541ccffd134c8ec87d3a7fa76c0c8e5bf94271156bb0d82db3101cd8f1
Contents?: true
Size: 249 Bytes
Versions: 3
Compression:
Stored size: 249 Bytes
Contents
require 'spec_helper' describe Forecastr::Wind do let(:wind) { Forecastr::Wind.new(2.5, -37) } it 'has speed in m/s' do expect(wind.speed).to eq "2.5 m/s" end it 'has has direction' do expect(wind.direction).to eq "NNW" end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
forecastr-0.1.5 | spec/forecastr/wind_spec.rb |
forecastr-0.1.4 | spec/forecastr/wind_spec.rb |
forecastr-0.1.3 | spec/forecastr/wind_spec.rb |