Sha256: 2b05dc1bcc163e21fcf630adaefb26226312cab0cdc7749b1641c7143b92d5b3

Contents?: true

Size: 454 Bytes

Versions: 7

Compression:

Stored size: 454 Bytes

Contents

# frozen_string_literal: true

require 'test_helper'

class Gecko::WebhookTest < Minitest::Test
  include VCRHelper
  include SharedRecordExamples

  let(:plural_name)   { "webhooks" }
  let(:record_class)  { Gecko::Record::Webhook }

  def setup
    @json   = load_vcr_hash("webhooks", "webhooks").first
    @record = record_class.new(client, @json)
  end

  def test_initializes_record
    assert_instance_of(Gecko::Record::Webhook, @record)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
gecko-ruby-0.12.3 test/record/webhook_test.rb
gecko-ruby-0.12.2 test/record/webhook_test.rb
gecko-ruby-0.12.1 test/record/webhook_test.rb
gecko-ruby-0.12.0 test/record/webhook_test.rb
gecko-ruby-0.11.1 test/record/webhook_test.rb
gecko-ruby-0.11.0 test/record/webhook_test.rb
gecko-ruby-0.10.0 test/record/webhook_test.rb