blob: 9f63f67de95fb26c6946f218d5beae7956fa0739 (
plain)
1
2
3
4
5
6
7
8
9
|
require_relative '../../spec_helper'
describe "Time#wday" do
it "returns an integer representing the day of the week, 0..6, with Sunday being 0" do
with_timezone("GMT", 0) do
Time.at(0).wday.should == 4
end
end
end
|