Commit 5a4baec

mo k <mo@mokhan.ca>
2012-08-13 00:13:59
add simplecov
1 parent 77e6b61
spec/spec_helper.rb
@@ -1,5 +1,7 @@
 require "rspec"
 require "rspec-fakes"
+require 'simplecov'
+SimpleCov.start
 
 Dir[File.dirname(__FILE__) + "/../lib/**/*.rb"].each do |file|
   require file
.gitignore
@@ -0,0 +1,1 @@
+coverage
Gemfile
@@ -3,3 +3,4 @@ source "https://rubygems.org"
 gem 'rspec'
 gem 'rspec-fakes'
 gem 'cucumber'
+gem 'simplecov'
Gemfile.lock
@@ -14,6 +14,7 @@ GEM
     gherkin (2.11.1)
       json (>= 1.4.6)
     json (1.7.4)
+    multi_json (1.3.6)
     rspec (2.11.0)
       rspec-core (~> 2.11.0)
       rspec-expectations (~> 2.11.0)
@@ -25,6 +26,10 @@ GEM
       developwithpassion_fakes
       rspec
     rspec-mocks (2.11.1)
+    simplecov (0.6.4)
+      multi_json (~> 1.0)
+      simplecov-html (~> 0.5.3)
+    simplecov-html (0.5.3)
 
 PLATFORMS
   ruby
@@ -33,3 +38,4 @@ DEPENDENCIES
   cucumber
   rspec
   rspec-fakes
+  simplecov