Sha256: dec1e7a75b0e0ff8d9b5bf327b5c086a0367553b7a05ff5fd0dee24306bbb3cf
Contents?: true
Size: 342 Bytes
Versions: 1
Compression:
Stored size: 342 Bytes
Contents
module Eve describe Base do describe "parse_date" do it "returns nil on unexpected input" do Base.new.parse_date("HohOhO").should == nil end it "should parse eve formated dates" do Base.new.parse_date("1976-11-04 09:17:23").should == DateTime.new(1976, 11, 4, 9, 17, 23) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
blinkenstein-0.2.0 | spec/eve/base_spec.rb |