diff --git a/sendgrid-ruby.gemspec b/sendgrid-ruby.gemspec index 340b8c55..bf6ba958 100644 --- a/sendgrid-ruby.gemspec +++ b/sendgrid-ruby.gemspec @@ -28,4 +28,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency 'rubocop' spec.add_development_dependency 'minitest', '~> 5.9' spec.add_development_dependency 'rack' + 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 2146a4bd..4c4ede5a 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'