From ca7b33fcdd53b2a3b7391b0dbfac34bbecb700be Mon Sep 17 00:00:00 2001 From: Roland Burrows Date: Wed, 31 Oct 2018 21:21:25 -0600 Subject: [PATCH] Initialize code coverage --- sendgrid-ruby.gemspec | 1 + spec/spec_helper.rb | 2 ++ test/sendgrid/test_sendgrid-ruby.rb | 2 ++ 3 files changed, 5 insertions(+) diff --git a/sendgrid-ruby.gemspec b/sendgrid-ruby.gemspec index 4422c1d6..395b8673 100644 --- a/sendgrid-ruby.gemspec +++ b/sendgrid-ruby.gemspec @@ -27,4 +27,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'faker' spec.add_development_dependency 'rubocop' spec.add_development_dependency 'minitest', '~> 5.9' + spec.add_development_dependency 'simplecov' end diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 5d4fe61b..f1c10fd9 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -1,3 +1,5 @@ +require 'simplecov' +SimpleCov.start require 'rubygems' require 'bundler/setup' require 'pry' diff --git a/test/sendgrid/test_sendgrid-ruby.rb b/test/sendgrid/test_sendgrid-ruby.rb index 8c287af1..50844e51 100644 --- a/test/sendgrid/test_sendgrid-ruby.rb +++ b/test/sendgrid/test_sendgrid-ruby.rb @@ -1,3 +1,5 @@ +require 'simplecov' +SimpleCov.start require_relative '../../lib/sendgrid-ruby.rb' require 'ruby_http_client' require 'minitest/autorun'