Sha256: 50353c4d7ceb3209dd0875c09ca72dee2dedf6aa30eb8e0fc6639bd50582201b
Contents?: true
Size: 502 Bytes
Versions: 6
Compression:
Stored size: 502 Bytes
Contents
# frozen_string_literal: true require "test_helper" module Availabilities class RuleObjectTest < Minitest::Test def setup json = JSON.parse(fixture_file("objects/availabilities/rule")).merge(client: client) @rule = Calendlyr::Availabilities::Rule.new(json) end def test_type assert_equal "wday", @rule.type end def test_intervals assert_equal 1, @rule.intervals.size end def test_wday assert_equal "sunday", @rule.wday end end end
Version data entries
6 entries across 6 versions & 1 rubygems