Sha256: d3c362836aa1a7b9fbe5a66510318d97586bd93fb4271962e6923a20e37e3516
Contents?: true
Size: 592 Bytes
Versions: 10
Compression:
Stored size: 592 Bytes
Contents
require 'spec_helper' describe EventCalendar::ApplicationHelper do describe "time_with_zones (singular)" do it "returns times" do time = Time.now helper.time_with_zones(time).should eq [ ["Eastern", time.in_time_zone("Eastern Time (US & Canada)").strftime(TIME_BASE)], ["Central", time.in_time_zone("Central Time (US & Canada)").strftime(TIME_BASE)], ["Mountain", time.in_time_zone("Mountain Time (US & Canada)").strftime(TIME_BASE)], ["Pacific", time.in_time_zone("Pacific Time (US & Canada)").strftime(TIME_BASE)] ] end end end
Version data entries
10 entries across 10 versions & 1 rubygems