Skip to content

Commit

Permalink
Fix rubocop offenses
Browse files Browse the repository at this point in the history
  • Loading branch information
weppos committed Nov 8, 2023
1 parent 9fd82df commit cf52f99
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion spec/integration/whois_spec.rb
Expand Up @@ -6,7 +6,7 @@
let(:response) { "Domain: example.it\nStatus: AVAILABLE\n" }

describe "Basic WHOIS querying and parsing" do
it "works" do
it "queries and returns a record" do
with_definitions do
Whois::Server.define(:tld, "it", "whois.nic.it")
expect(Whois::Server::Adapters::Standard.query_handler).to receive(:call)
Expand Down
4 changes: 2 additions & 2 deletions spec/whois/client_spec.rb
Expand Up @@ -135,8 +135,8 @@ def lookup(*)
describe "#query" do
it "sends a query for given domain" do
record = described_class.new.lookup("weppos.it")
assert record.match?(/Domain:\s+weppos\.it/)
assert record.match?(/Created:/)
expect(record.match?(/Domain:\s+weppos\.it/)).to be(true)
expect(record.match?(/Created:/)).to be(true)
end
end
end
Expand Down

0 comments on commit cf52f99

Please sign in to comment.