adding simplecov. 98.5% coverage. not too bad.

Oleg committed Sep 23, 2011
commit e3f3bef4cd40ff703fb8cf207301f6e20dafcf26
Showing 3 changed files with 4 additions and 0 deletions
.gitignore +1 -0
@@ @@ -11,3 +11,4 @@ rdoc
public/*
Gemfile.lock
.rvmrc
+ /coverage
\ No newline at end of file
Gemfile +1 -0
@@ @@ -10,5 +10,6 @@ end
group :test do
gem 'sqlite3'
+ gem 'simplecov'
gem 'jeweler', '>=1.4.0'
end
test/test_helper.rb +2 -0
@@ @@ -1,4 +1,6 @@
# encoding: utf-8
+ require 'simplecov'
+ SimpleCov.start 'rails' if ENV['COVERAGE']
ENV['RAILS_ENV'] = 'test'
require File.expand_path('../../config/environment', __FILE__)