Skip to content

Commit

Permalink
Add simplecov for test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
mauriciozaffari committed Jun 20, 2011
1 parent 7abed5c commit 28f7428
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Gemfile
@@ -1,2 +1,4 @@
source 'http://rubygems.org'
gemspec

gem 'simplecov', '>= 0.4.0', :require => false, :group => :test
4 changes: 4 additions & 0 deletions Gemfile.lock
Expand Up @@ -36,6 +36,9 @@ GEM
rspec-expectations (2.5.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.5.0)
simplecov (0.4.2)
simplecov-html (~> 0.4.4)
simplecov-html (0.4.5)
tzinfo (0.3.27)

PLATFORMS
Expand All @@ -46,3 +49,4 @@ DEPENDENCIES
mongoid_search!
rake (~> 0.8.7)
rspec (~> 2.4)
simplecov (>= 0.4.0)
3 changes: 3 additions & 0 deletions spec/spec_helper.rb
@@ -1,3 +1,6 @@
require 'simplecov'
SimpleCov.start

$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
require 'mongoid'
Expand Down

0 comments on commit 28f7428

Please sign in to comment.