blob: 72bc71835638d5414301857df2a054117ba68527 (
plain)
1
2
3
4
5
6
7
8
9
|
require File.expand_path('../../../spec_helper', __FILE__)
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
|