Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (24 sloc) 0.628 kb
use("ispec")
describe(DateTime,
it("should have the correct kind",
DateTime should have kind("DateTime")
)
describe("-",
it("should validate type of argument",
fn(DateTime - 4) should signal(Condition Error Type IncorrectType)
)
it("should validate type of receiver",
DateTime should checkReceiverTypeOn(:"-", DateTime now)
)
)
describe("inspect",
it("should validate type of receiver",
DateTime should checkReceiverTypeOn(:inspect)
)
)
describe("notice",
it("should validate type of receiver",
DateTime should checkReceiverTypeOn(:notice)
)
)
)
Jump to Line
Something went wrong with that request. Please try again.