Skip to content

Commit

Permalink
Test coverage when using MRI 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
James F. Herdman committed Mar 1, 2012
1 parent 237f4fc commit 7de406f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Expand Up @@ -8,3 +8,5 @@ group :development do
gem 'guard-bundler'
gem 'guard-rspec'
end

gem 'simplecov', :group => :test, :platforms => :mri_19, :require => false
10 changes: 10 additions & 0 deletions spec/spec_helper.rb
@@ -1,6 +1,16 @@
require 'rubygems'
require 'bundler/setup'

begin
require 'simplecov'

SimpleCov.start do
add_filter '/spec/'
end
rescue => ex
puts 'Running without test coverage checks (requires MRI 1.9)'
end

require 'zeppelin'

RSpec.configure do |config|
Expand Down

0 comments on commit 7de406f

Please sign in to comment.