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

Version Path
agile_notifier-3.1.2 test/test_servable.rb
agile_notifier-3.0.2 test/test_servable.rb
agile_notifier-3.0.1 test/test_servable.rb
agile_notifier-3.0.0 test/test_servable.rb
agile_notifier-2.1.4 test/test_servable.rb
agile_notifier-2.1.3 test/test_servable.rb
agile_notifier-2.1.2 test/test_servable.rb
agile_notifier-2.1.1 test/test_servable.rb
agile_notifier-2.1 test/test_servable.rb
agile_notifier-2.0 test/test_servable.rb
agile_notifier-1.1.1 test/test_servable.rb
agile_notifier-1.1 test/test_servable.rb
agile_notifier-1.0 test/test_servable.rb