Sha256: 25b86d418ae93500a31e231e5ea5b6574a24932357a89225d19af0f1307e27ba
Contents?: true
Size: 627 Bytes
Versions: 30
Compression:
Stored size: 627 Bytes
Contents
require 'spec_helper' describe Gem::ConfigFile do def gemrc_location File.dirname(__FILE__) + '/fixtures/gemrc' end describe ".new" do it "initializes ssl vars" do config = Gem::ConfigFile.new( [ "--config-file", gemrc_location ] ) config.ssl_verify_mode.should eq("bob") config.ssl_ca_cert.should eq("steve") config.ssl_client_cert.should eq("dave") end it "original initialize is still called" do #Test by setting the backtrace value which defaults to false config = Gem::ConfigFile.new( [ "--backtrace" ] ) config.backtrace.should be_true end end end
Version data entries
30 entries across 30 versions & 1 rubygems