Sha256: 082f1347d0ba928740b18741e44bcefce7bb9faf4115f1637804fa43d41affd4

Contents?: true

Size: 504 Bytes

Versions: 6

Compression:

Stored size: 504 Bytes

Contents

# frozen_string_literal: true

require "test_helper"

module EventTypes
  class AvailableTimeObjectTest < Minitest::Test
    def setup
      json = JSON.parse(fixture_file("objects/event_types/available_time")).merge(client: client)
      @available_time = Calendlyr::EventTypes::AvailableTime.new(json)
    end

    def test_status
      assert_equal "available", @available_time.status
    end

    def test_invitees_remaining
      assert_equal 2, @available_time.invitees_remaining
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
calendlyr-0.7.5 test/calendlyr/objects/event_types/available_time_test.rb
calendlyr-0.7.4 test/calendlyr/objects/event_types/available_time_test.rb
calendlyr-0.7.3 test/calendlyr/objects/event_types/available_time_test.rb
calendlyr-0.7.2 test/calendlyr/objects/event_types/available_time_test.rb
calendlyr-0.7.1 test/calendlyr/objects/event_types/available_time_test.rb
calendlyr-0.7.0 test/calendlyr/objects/event_types/available_time_test.rb