Sha256: baf88cad854433a2b1db8f364dbb9490aafcb570eaeb4257311bd54c2f8b7c5d
Contents?: true
Size: 318 Bytes
Versions: 29
Compression:
Stored size: 318 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-06-30", format_date(Date.new(2012, 7, 1)) end end
Version data entries
29 entries across 29 versions & 1 rubygems