Skip to content

Commit

Permalink
fix: linter
Browse files Browse the repository at this point in the history
  • Loading branch information
route committed Jan 6, 2024
1 parent 04a7a41 commit d89a601
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions spec/network/request_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
describe Ferrum::Network::Request do
describe "#ping?" do
it "returns false for document requests" do
request = Ferrum::Network::Request.new({"type" => "Document"})
request = Ferrum::Network::Request.new({ "type" => "Document" })

expect(request.ping?).to be(false)
end

it "returns true for ping requests" do
request = Ferrum::Network::Request.new({"type" => "Ping"})
request = Ferrum::Network::Request.new({ "type" => "Ping" })

expect(request.ping?).to be(true)
end
Expand Down
2 changes: 1 addition & 1 deletion spec/node_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
it "fires a ping request for anchor elements" do
browser.go_to("/ferrum/link_with_ping")

expect(browser.network.traffic.length).to eq(1)
expect(browser.network.traffic.length).to eq(1)
browser.at_css("a").click

# 1 for first load, 1 for load of new url, 1 for ping = 3 total
Expand Down

0 comments on commit d89a601

Please sign in to comment.