Skip to content

Commit 1962f99

Browse files
committed
add SimpleCov
1 parent a590996 commit 1962f99

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ group :development do
1212
gem 'rdoc', Gem::Version.new(RUBY_VERSION) < Gem::Version.new('1.9.3') ? '~> 4.2.2' : Gem::Version.new(RUBY_VERSION) < Gem::Version.new('2.2.2') ? '< 6' : '>= 6'
1313
gem 'RedCloth', RUBY_PLATFORM == 'java' ? '= 4.2.9' : '>= 4.0.3'
1414
gem 'rspec', '~> 3.9.0'
15+
gem 'simplecov', '~> 0.17.1'
1516
gem 'shoulda-context', RUBY_VERSION < '1.9' ? '= 1.2.1' : '>= 1.2.1'
1617
gem 'term-ansicolor', RUBY_VERSION < '2.0' ? '~> 1.3.2' : '>= 1.3.2'
1718
gem 'test-unit', RUBY_VERSION < '1.9' ? '~> 2.0' : '>= 3.0'

spec/spec_helper.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
require 'simplecov'
2+
SimpleCov.start
3+
14
# This file was generated by the `rspec --init` command. Conventionally, all
25
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
36
# The generated `.rspec` file contains `--require spec_helper` which will cause

0 commit comments

Comments
 (0)