Sha256: ce660a8ef366cd25099d0151e2beee30be9b02731edb9056cd4acc90e5d866a9
Contents?: true
Size: 320 Bytes
Versions: 21
Compression:
Stored size: 320 Bytes
Contents
require 'test_helper' class Kaui::DateHelperTest < ActiveSupport::TestCase include Kaui::DateHelper test 'can parse from string' do assert_equal '2012-07-01', format_date('2012-07-01T12:55:44Z') end test 'can parse from date' do assert_equal '2012-07-01', format_date(Date.new(2012, 7, 1)) end end
Version data entries
21 entries across 21 versions & 1 rubygems