Sha256: 6adb7b712abf311265fac13d24353eb4e0bb1418ee6c4b2c877fb434519336fb
Contents?: true
Size: 540 Bytes
Versions: 19
Compression:
Stored size: 540 Bytes
Contents
# -*- Encoding: utf-8 -*- # # Copyright 2013 whiteleaf. All rights reserved. # require_relative "../lib/novelinfo" describe NovelInfo do before do setting = { "name" => "dummy", "ncode" => "10000" } @novelinfo = NovelInfo.new(setting) end it "#date_string_to_time" do @novelinfo.date_string_to_time("2014年03月02日(日) 07:39").should == Time.parse("2014/3/2 07:39") @novelinfo.date_string_to_time("2012年 11月22日 17時00分").should == Time.parse("2012/11/22 17:00") end end
Version data entries
19 entries across 19 versions & 1 rubygems