summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2013-12-23 00:09:15 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2013-12-23 00:09:15 -0800
commit8958ce3928e28eef0787200673f4a9e0fbd4429d (patch)
treeba36b63fb5a0dd4a58105e08dbcce27cb094ef45
parent81cd930680f33cf5e40d883eac2262cf7668fb2d (diff)
downloadffi-yajl-8958ce3928e28eef0787200673f4a9e0fbd4429d.tar.gz
add test coverage
-rw-r--r--Gemfile2
-rw-r--r--spec/spec_helper.rb3
2 files changed, 5 insertions, 0 deletions
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