Sha256: 4ed7bed2c7d00bf234bd8e147ee836ee5ee66634a25ea0e2ba4e8def267b315b

Contents?: true

Size: 884 Bytes

Versions: 3

Compression:

Stored size: 884 Bytes

Contents

# frozen_string_literal: true

require "test_helper"

class AitchTest < Minitest::Test
  test "defines public API" do
    assert Aitch.respond_to?(:get)
    assert Aitch.respond_to?(:get!)
    assert Aitch.respond_to?(:post)
    assert Aitch.respond_to?(:post!)
    assert Aitch.respond_to?(:put)
    assert Aitch.respond_to?(:put!)
    assert Aitch.respond_to?(:patch)
    assert Aitch.respond_to?(:patch!)
    assert Aitch.respond_to?(:delete)
    assert Aitch.respond_to?(:delete!)
    assert Aitch.respond_to?(:head)
    assert Aitch.respond_to?(:head!)
    assert Aitch.respond_to?(:options)
    assert Aitch.respond_to?(:options!)
    assert Aitch.respond_to?(:trace)
    assert Aitch.respond_to?(:trace!)
    assert Aitch.respond_to?(:execute)
    assert Aitch.respond_to?(:execute!)
    assert Aitch.respond_to?(:config)
    assert Aitch.respond_to?(:configuration)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aitch-1.2.1 test/aitch/aitch_test.rb
aitch-1.2.0 test/aitch/aitch_test.rb
aitch-1.1.0 test/aitch/aitch_test.rb