Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add simplecov.

  • Loading branch information...
commit df04165662d6b3c8c50af1ce1047a700a0d9fe72 1 parent 298a648
@twe4ked authored
Showing with 10 additions and 0 deletions.
  1. +1 −0  .gitignore
  2. +1 −0  Gemfile
  3. +5 −0 Gemfile.lock
  4. +3 −0  spec/spec_helper.rb
View
1  .gitignore
@@ -1 +1,2 @@
.sass-cache
+coverage/
View
1  Gemfile
@@ -20,5 +20,6 @@ gem 'dm-validations'
gem 'dm-postgres-adapter'
group :test do
+ gem 'simplecov'
gem 'rspec'
end
View
5 Gemfile.lock
@@ -65,6 +65,10 @@ GEM
rspec-mocks (2.10.0)
sass (3.1.16)
simple_oauth (0.1.7)
+ simplecov (0.6.1)
+ multi_json (~> 1.0)
+ simplecov-html (~> 0.5.3)
+ simplecov-html (0.5.3)
sinatra (1.3.2)
rack (~> 1.3, >= 1.3.6)
rack-protection (~> 1.2)
@@ -107,6 +111,7 @@ DEPENDENCIES
rake
rspec
sass
+ simplecov
sinatra
sinatra-reloader
thin
View
3  spec/spec_helper.rb
@@ -1,3 +1,6 @@
+require 'simplecov'
+SimpleCov.start { add_filter '/spec/' }
+
ENV['RACK_ENV'] = 'test'
require 'bundler'

0 comments on commit df04165

Please sign in to comment.
Something went wrong with that request. Please try again.