Sha256: b7dbdac7efa74c2d834e150b210049822426d6d00a9d14b7292a78e9e2e1d802
Contents?: true
Size: 840 Bytes
Versions: 1
Compression:
Stored size: 840 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 it "should know that Roswell NM is in Mountain time" do ZipToTimezone.get_timezone_for('88201').should == 'Mountain Time (US & Canada)' ZipToTimezone.get_timezone_for('88203').should == 'Mountain Time (US & Canada)' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zip_to_timezone-0.1.0 | spec/zip_to_timezone_spec.rb |