spec/report_spec.rb in censu-0.1.6 vs spec/report_spec.rb in censu-0.2.0
- old
+ new
@@ -1,15 +1,15 @@
-require 'spec_helper'
+# frozen_string_literal: true
describe Censys::API do
before(:context) do
@api = Censys::API.new
end
describe "#report", :vcr do
context "ipv4" do
- it "should return ipv4 response" do
+ it "should return an ipv4 response" do
params = {
query: "8.8.8.8",
field: "ports",
buckets: 10
}
@@ -28,11 +28,11 @@
expect(report.metadata.query).to eq("8.8.8.8")
end
end
context "websites" do
- it "should return website response" do
+ it "should return a website response" do
params = {
query: "google.com",
field: "ports",
buckets: 10
}
@@ -42,10 +42,10 @@
expect(report.metadata.query).to eq("google.com")
end
end
context "certificates" do
- it "should return certificate response" do
+ it "should return a certificate response" do
params = {
query: "google.com",
field: "precert",
buckets: 10
}