1 2 3 4 5 6 7 8
require_relative '../../spec_helper' require 'date' describe "Date#sunday?" do it "should be sunday" do Date.new(2000, 1, 2).sunday?.should be_true end end