Sha256: 45908043fe14ae0982c91e35287f7d70943808702e65045694f7e5a498e38c51
Contents?: true
Size: 387 Bytes
Versions: 9
Compression:
Stored size: 387 Bytes
Contents
require 'test_helper' class Kaui::BillCycleDayTest < ActiveSupport::TestCase fixtures :bill_cycle_days test "can serialize from json" do as_json = bill_cycle_days(:the_sixth) the_sixth = Kaui::BillCycleDay.new(as_json) assert_equal as_json["dayOfMonthUTC"], the_sixth.day_of_month_utc assert_equal as_json["dayOfMonthLocal"], the_sixth.day_of_month_local end end
Version data entries
9 entries across 9 versions & 1 rubygems