Sha256: b1b62c178e0e07dfa3d9e76fcf94a1334d2cf8a85ee593447a7c7721d6f3c476

Contents?: true

Size: 230 Bytes

Versions: 3

Compression:

Stored size: 230 Bytes

Contents

require 'spec_helper'

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

  it 'should contain a string for the image url' do
    expect(image.url).to be_a String
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
weather-api-1.4.0 spec/lib/image_spec.rb
weather-api-1.3.0 spec/lib/image_spec.rb
weather-api-1.2.0 spec/lib/image_spec.rb