From 8958ce3928e28eef0787200673f4a9e0fbd4429d Mon Sep 17 00:00:00 2001 From: Lamont Granquist Date: Mon, 23 Dec 2013 00:09:15 -0800 Subject: add test coverage --- Gemfile | 2 ++ spec/spec_helper.rb | 3 +++ 2 files changed, 5 insertions(+) diff --git a/Gemfile b/Gemfile index 53c4646..1de85cb 100644 --- a/Gemfile +++ b/Gemfile @@ -6,3 +6,5 @@ platforms :rbx do gem 'rubysl', '~> 2.0' end +gem 'coveralls', require: false + diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 54d8b97..1f7affe 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -2,6 +2,9 @@ $: << File.expand_path(File.join(File.dirname( __FILE__ ), "../lib")) require 'ffi_yajl' +require 'coveralls' +Coveralls.wear! + RSpec.configure do |c| c.filter_run_excluding :ruby_gte_19 => true unless RUBY_VERSION.to_f >= 1.9 -- cgit v1.2.1