Sha256: 3516a0d2a920407a3bf046ad287fe7f0a717d0e591a8d9745db5e4b8d4d761b1
Contents?: true
Size: 378 Bytes
Versions: 4
Compression:
Stored size: 378 Bytes
Contents
require "spec_helper" describe Datte do it "has a version number" do expect(Datte::VERSION).not_to be nil end describe "::Parser" do datte = Datte::Parser.new it "2016/11/1日に遊ぼー" do body = "2016/11/1日に遊ぼー" d = DateTime.now expect(datte.parse_date(body)).to eq(DateTime.new(2016, 11, 1, d.hour, 0, 0)) end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
datte-0.5.1 | spec/datte_spec.rb |
datte-0.5.0 | spec/datte_spec.rb |
datte-0.4.0 | spec/datte_spec.rb |
datte-0.3.0 | spec/datte_spec.rb |