Sha256: 5153ddb6405bcae049db085a5dbc3893fadf9445a0776225a635a88c9db0312e
Contents?: true
Size: 287 Bytes
Versions: 12
Compression:
Stored size: 287 Bytes
Contents
require "spec_helper" describe URI::HTTP do describe "ssl?" do it "returns true for https URI's" do URI("https://example.com").ssl?.should be_true end it "returns false for non-https URI's" do URI("http://example.com").ssl?.should be_false end end end
Version data entries
12 entries across 12 versions & 1 rubygems