Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix outdated rspec config and syntax #9

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion certifi.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
3 changes: 2 additions & 1 deletion spec/certifi_spec.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
config.expect_with :rspec do |c|
c.syntax = :expect
end
config.mock_with :none
config.mock_with :nothing
end