Sha256: 58833144aa222c3229de96a0cdbfa196bcfd1613a32887cbedc46397b7c12bb1
Contents?: true
Size: 652 Bytes
Versions: 6
Compression:
Stored size: 652 Bytes
Contents
# frozen_string_literal: true require "test_helper" module RoutingForms class SubmissionObjectTest < Minitest::Test def setup json = JSON.parse(fixture_file("objects/routing_forms/submission")).merge(client: client) @submission = Calendlyr::RoutingForms::Submission.new(json) end def test_associated_routing_form uuid = "AAAAAAAAAAAAAAAA" response = {body: fixture_file("routing_forms/retrieve"), status: 200} stub(path: "routing_forms/#{uuid}", response: response) routing_form = @submission.associated_routing_form assert_equal Calendlyr::RoutingForm, routing_form.class end end end
Version data entries
6 entries across 6 versions & 1 rubygems