require 'spec_helper'
require_relative '../../lib/weather_grabber'

describe WeatherGrabber, :vcr do
  
  before :all do
    @weather = WeatherGrabber.new
  end
  
  it "should give back the last time there was rain" do
    @weather.last_rain.should == "About 5 minutes ago"
  end
    
  it "should give back the next time there will be rain" do
    @weather.next_rain.should == "In about 2 hours"
  end
  
  it "should give back the current temperature" do
    @weather.temperature.should == 3
  end

  it "should give back the outlook" do
    @weather.outlook.should == "Rainy"
  end

end
Add test for weather grabber
Add test for weather grabber
