Sha256: d9e87c1a013d00641143cf923afb2155990d4a23cf60ab09dd38c95e4a39db24

Contents?: true

Size: 883 Bytes

Versions: 3

Compression:

Stored size: 883 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.0.2 test/aitch/aitch_test.rb
aitch-1.0.1 test/aitch/aitch_test.rb
aitch-1.0.0 test/aitch/aitch_test.rb