Skip to content

Commit 8ce041e

Browse files
author
Andrew Leung and Dariusz Lorenc
committed
Add test for returning time zone in IANA format for Standup
1 parent a5d7054 commit 8ce041e

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

spec/models/standup_spec.rb

+6
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,12 @@
5959
end
6060
end
6161

62+
describe "#time_zone_name_iana" do
63+
it "returns IANA format of the time zone" do
64+
expect(@standup.time_zone_name_iana).to eq "America/Los_Angeles"
65+
end
66+
end
67+
6268
describe "#next_standup_date" do
6369
context "when the standup is today" do
6470
it "returns date and time as an integer" do

0 commit comments

Comments
 (0)