Skip to content
This repository has been archived by the owner on Oct 18, 2023. It is now read-only.

Commit

Permalink
Merge fb6c2ff into f9140ff
Browse files Browse the repository at this point in the history
  • Loading branch information
ninoseki committed May 1, 2019
2 parents f9140ff + fb6c2ff commit 39d800f
Show file tree
Hide file tree
Showing 3 changed files with 125 additions and 0 deletions.
19 changes: 19 additions & 0 deletions spec/clients/tools_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# frozen_string_literal: true

RSpec.describe Shodan::Clients::Tools, :vcr do
let(:api) { Shodan::API.new }

describe "#http_headers" do
it do
res = api.tools.http_headers
expect(res).to be_a(Hash)
end
end

describe "#my_ip" do
it do
res = api.tools.my_ip
expect(res).to be_a(String)
end
end
end

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions spec/fixtures/vcr_cassettes/Shodan_Clients_Tools/_my_ip/1_2_1.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 39d800f

Please sign in to comment.