Sha256: b9e0cb25e5247d4b311d6ebde3e50ca9e2134a9582c54a2cf5287a11235fabbb
Contents?: true
Size: 611 Bytes
Versions: 1
Compression:
Stored size: 611 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') describe "ZipToTimezone" do it "should show that San Diego is Pacific Time" do ZipToTimezone.get_timezone_for('92129').should == 'Pacific Time (US & Canada)' end it "should show that DC is Eastern Time" do ZipToTimezone.get_timezone_for('20001').should == 'Eastern Time (US & Canada)' end it "should know that some of MI is in Central time" do ZipToTimezone.get_timezone_for('49915').should == 'Central Time (US & Canada)' ZipToTimezone.get_timezone_for('49914').should == 'Eastern Time (US & Canada)' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zip_to_timezone-0.0.4 | spec/zip_to_timezone_spec.rb |