File: instance.rb

package info (click to toggle)
ruby-async-http 0.94.2-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 916 kB
  • sloc: ruby: 5,224; javascript: 40; makefile: 4
file content (14 lines) | stat: -rw-r--r-- 336 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true

# Released under the MIT License.
# Copyright, 2021-2024, by Samuel Williams.

require "async/http/internet/instance"

describe Async::HTTP::Internet do
	describe ".instance" do
		it "returns an internet instance" do
			expect(Async::HTTP::Internet.instance).to be_a(Async::HTTP::Internet)
		end
	end
end