Sha256: f333c980672607d598d6c5032fe3cf2ecadd338a5ba180d9bd241209c5ef65fe
Contents?: true
Size: 664 Bytes
Versions: 4
Compression:
Stored size: 664 Bytes
Contents
require File.expand_path("../../../spec_helper", __FILE__) module Selenium module WebDriver module Remote module Http describe Common do it "sends non-empty body header for POST requests without command data" do common = Common.new common.server_url = URI.parse("http://server") common.should_receive(:request). with(:post, URI.parse("http://server/clear"), hash_including("Content-Length" => "2"), "{}") common.call(:post, "clear", nil) end end # Common end # Http end # Remote end # WebDriver end # Selenium
Version data entries
4 entries across 4 versions & 2 rubygems