Sha256: 8eacff74f2bfdfa2d385eba0feff127244df8fe9c216d225e5b02a00a917ae9f
Contents?: true
Size: 612 Bytes
Versions: 2
Compression:
Stored size: 612 Bytes
Contents
# frozen_string_literal: true require "test_helper" class SchedulingLinksResourceTest < Minitest::Test def test_create owner_uri = "https://api.calendly.com/event_types/GBGBDCAADAEDCRZ2" max_event_count = 20 owner_type = "EventType" response = {body: fixture_file("scheduling_links/create"), status: 201} stub(method: :post, path: "scheduling_links", body: {owner: owner_uri, max_event_count: max_event_count, owner_type: owner_type}, response: response) assert client.scheduling_links.create(owner_uri: owner_uri, max_event_count: max_event_count, owner_type: owner_type) end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
calendlyr-0.6.0 | test/calendlyr/resources/scheduling_links_test.rb |
calendlyr-0.5.0 | test/calendlyr/resources/scheduling_links_test.rb |