blob: c11e79d2fa94279b6b4de073fbdfbb5da305d8de (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
require_relative '../../spec_helper'
describe "Time#thursday?" do
it "returns true if time represents Thursday" do
Time.local(2000, 1, 6).should.thursday?
end
it "returns false if time doesn't represent Thursday" do
Time.local(2000, 1, 1).should_not.thursday?
end
end
|