Sha256: 2d0c4b28f09a6ef3199ad34f8b50a89f0a656ac2a993cfacb53bf70093492913
Contents?: true
Size: 581 Bytes
Versions: 1
Compression:
Stored size: 581 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "WeatherFetcher" do it "simple stuff" do WeatherFetcher.class.should == Module end it "should accept only Array or Hash definitions" do lambda { WeatherFetcher::Provider.new("ble") }.should raise_error lambda { WeatherFetcher::Provider.new(1) }.should raise_error lambda { WeatherFetcher::Provider.new() }.should_not raise_error lambda { WeatherFetcher::Provider.new([]) }.should_not raise_error lambda { WeatherFetcher::Provider.new({}) }.should_not raise_error end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
weather_fetcher-0.0.0 | spec/weather_fetcher_spec.rb |