diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2013-12-23 00:09:15 -0800 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2013-12-23 00:09:15 -0800 |
commit | 8958ce3928e28eef0787200673f4a9e0fbd4429d (patch) | |
tree | ba36b63fb5a0dd4a58105e08dbcce27cb094ef45 | |
parent | 81cd930680f33cf5e40d883eac2262cf7668fb2d (diff) | |
download | ffi-yajl-8958ce3928e28eef0787200673f4a9e0fbd4429d.tar.gz |
add test coverage
-rw-r--r-- | Gemfile | 2 | ||||
-rw-r--r-- | spec/spec_helper.rb | 3 |
2 files changed, 5 insertions, 0 deletions
@@ -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 |