diff --git a/spec/network/request_spec.rb b/spec/network/request_spec.rb index 6b4f2541..4e5df303 100644 --- a/spec/network/request_spec.rb +++ b/spec/network/request_spec.rb @@ -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 diff --git a/spec/node_spec.rb b/spec/node_spec.rb index 62d51cdf..68580ef5 100644 --- a/spec/node_spec.rb +++ b/spec/node_spec.rb @@ -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