diff --git a/certifi.gemspec b/certifi.gemspec index e474204..4acc9d2 100644 --- a/certifi.gemspec +++ b/certifi.gemspec @@ -31,7 +31,7 @@ Gem::Specification.new do |spec| spec.test_files = spec.files.grep(%r{^(test|spec|features)/}) spec.require_paths = ["lib"] - spec.add_development_dependency "bundler", "~> 1.6" + spec.add_development_dependency "bundler" spec.add_development_dependency "rake" spec.add_development_dependency "rspec-core" spec.add_development_dependency "rspec-expectations" diff --git a/spec/certifi_spec.rb b/spec/certifi_spec.rb index fb2a6c2..52754c5 100644 --- a/spec/certifi_spec.rb +++ b/spec/certifi_spec.rb @@ -1,10 +1,11 @@ require_relative 'spec_helper' require_relative '../lib/certifi' +require "net/http" describe Certifi do describe ".where" do it "should return the path to the cacert.pem" do - expect(File.exist?(Certifi.where)).to be_true + expect(File.exist?(Certifi.where)).to be true end it "should verify the cert" do diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index a37b22e..6a74d06 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -8,5 +8,5 @@ config.expect_with :rspec do |c| c.syntax = :expect end - config.mock_with :none + config.mock_with :nothing end