Sha256: 74323c7214b1ac78180ddeb765c4804ccd1a7b173de7306ebe704125a6cf7b4a

Contents?: true

Size: 294 Bytes

Versions: 17

Compression:

Stored size: 294 Bytes

Contents

# frozen_string_literal: true

require_relative 'test_helper'

class BotMatchTest < Minitest::Test
  include Minitest::Hooks
  include DnsServerMock

  def test_valid_class_syntax
    assert Legitbot::Google.valid?('66.249.64.141')
    assert Legitbot::Google.fake?('149.210.164.47')
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
legitbot-1.11.2 test/botmatch_test.rb
legitbot-1.11.1 test/botmatch_test.rb
legitbot-1.11.0 test/botmatch_test.rb
legitbot-1.10.6 test/botmatch_test.rb
legitbot-1.10.5 test/botmatch_test.rb
legitbot-1.10.4 test/botmatch_test.rb
legitbot-1.10.3 test/botmatch_test.rb
legitbot-1.10.1 test/botmatch_test.rb
legitbot-1.10.0 test/botmatch_test.rb
legitbot-1.9.4 test/botmatch_test.rb
legitbot-1.9.3 test/botmatch_test.rb
legitbot-1.9.2 test/botmatch_test.rb
legitbot-1.9.1 test/botmatch_test.rb
legitbot-1.9.0 test/botmatch_test.rb
legitbot-1.8.0 test/botmatch_test.rb
legitbot-1.7.3 test/botmatch_test.rb
legitbot-1.7.2 test/botmatch_test.rb