Sha256: 09b084a0c86b091b78453e6e5a72b6254a0af54c1c1e51834ddafc57f0f4e5c2
Contents?: true
Size: 356 Bytes
Versions: 83
Compression:
Stored size: 356 Bytes
Contents
require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/../../spec_helper' require File.dirname(File.join(__rhoGetCurrentDir(), __FILE__)) + '/fixtures/methods' describe "Time#yday" do it "returns an integer representing the day of the year, 1..366" do with_timezone("UTC") do Time.at(9999999).yday.should == 116 end end end
Version data entries
83 entries across 83 versions & 1 rubygems