Sha256: dadac237cc7508db7f08d098fb27c3579f570e5efd18fb1056edde58160449b7

Contents?: true

Size: 331 Bytes

Versions: 2

Compression:

Stored size: 331 Bytes

Contents

require 'spec_helper'

describe Weather::Wind, :vcr do
  let(:response) { Weather.lookup 9848 }

  subject { response.wind }

  it 'should contain chill, direction, and speed as integers' do
    expect(subject.chill).to be_a Integer
    expect(subject.direction).to be_a Integer
    expect(subject.speed).to be_a Integer
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
weather-api-1.1.1 spec/lib/wind_spec.rb
weather-api-1.1.0 spec/lib/wind_spec.rb