spec/lib/image_spec.rb in weather-api-1.1.1 vs spec/lib/image_spec.rb in weather-api-1.2.0
- old
+ new
@@ -1,11 +1,10 @@
require 'spec_helper'
describe Weather::Image, :vcr do
let(:response) { Weather.lookup 9848 }
+ let(:image) { response.image }
- subject { response.image }
-
it 'should contain a string for the image url' do
- expect(subject.url).to be_a String
+ expect(image.url).to be_a String
end
end