Sha256: 532b6115a1ced82aba83006b6352dd26852299fd27f58705e6b014d7282af5e7
Contents?: true
Size: 350 Bytes
Versions: 13
Compression:
Stored size: 350 Bytes
Contents
require_relative 'helper' class TestServable < Test::Unit::TestCase def setup @obj = Servable::PrivateMethods.new end def test_is_https_request assert_equal(true, @obj.is_https_request?('https://example.com/')) end def test_is_not_https_request assert_equal(false, @obj.is_https_request?('http://example.com/')) end end
Version data entries
13 entries across 13 versions & 1 rubygems