File: features_spec.rb

package info (click to toggle)
ruby-ethon 0.16.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 676 kB
  • sloc: ruby: 5,403; sh: 9; makefile: 8
file content (24 lines) | stat: -rw-r--r-- 576 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# frozen_string_literal: true
require 'spec_helper'

describe Ethon::Easy::Informations do

  describe "#supports_asynch_dns?" do
    it "returns boolean" do
      expect([true, false].include? Ethon::Easy.supports_asynch_dns?).to be_truthy
    end
  end

  describe "#supports_zlib?" do
    it "returns boolean" do
      expect([true, false].include? Ethon::Easy.supports_zlib?).to be_truthy
    end
  end

  describe "#supports_timeout_ms?" do
    it "returns boolean" do
      expect([true, false].include? Ethon::Easy.supports_timeout_ms?).to be_truthy
    end
  end

end