blob: 303905ed3577166ab95dd2ba46ee87fd18e0c596 (
plain)
1
2
3
4
5
6
7
8
9
|
require_relative '../../spec_helper'
require 'date'
describe "Date#wday" do
it "returns the week day as a number starting with Sunday as 0" do
w = Date.new(2000, 1, 1).wday
w.should == 6
end
end
|