Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #8 from nisshiee/mesure-coverage
Browse files Browse the repository at this point in the history
Add simplecov settings and mesure coverage
  • Loading branch information
nisshiee committed Jan 31, 2016
2 parents 398ae5d + 3958dc3 commit 18910a5
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,16 @@
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'validation_examples_matcher'

require 'active_model'
require 'pry'

require 'simplecov'
SimpleCov.start do
add_filter 'spec/'
minimum_coverage 100
end

require 'validation_examples_matcher'

class TestModel
include ActiveModel::Model

Expand Down
1 change: 1 addition & 0 deletions validation_examples_matcher.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'bundler', '~> 1.11'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '~> 3.0'
spec.add_development_dependency 'simplecov', '>= 0.11.1', '< 0.12.0'
spec.add_development_dependency 'activemodel', '~> 4.2.5'
spec.add_development_dependency 'pry-byebug', '~> 3.3.0'
spec.add_development_dependency 'rubocop', '>= 0.36.0', '< 0.37.0'
Expand Down

0 comments on commit 18910a5

Please sign in to comment.