diff options
| author | anicet | 2015-06-12 10:32:36 +0200 | 
|---|---|---|
| committer | anicet | 2015-06-16 10:45:54 +0200 | 
| commit | b7fb1d2685a54f015f7c0f83fb586150872f770f (patch) | |
| tree | 79dbc76fd372766eb0ac9fbf02d1c33169419dcb | |
| parent | 35f1e7f60871c2213804c83cca5b951c568bf9cb (diff) | |
| download | chouette-core-b7fb1d2685a54f015f7c0f83fb586150872f770f.tar.bz2 | |
Gemfile : add simplecov to development group
| -rw-r--r-- | .gitignore | 1 | ||||
| -rw-r--r-- | Gemfile | 6 | ||||
| -rw-r--r-- | Gemfile.lock | 7 | ||||
| -rw-r--r-- | spec/spec_helper.rb | 4 | 
4 files changed, 15 insertions, 3 deletions
| diff --git a/.gitignore b/.gitignore index 55f1de2b3..cc3e0cd16 100644 --- a/.gitignore +++ b/.gitignore @@ -23,3 +23,4 @@ public/assets/  chouette2.war  vendor/bundle  .ruby-version +coverage @@ -131,15 +131,15 @@ gem 'apartment', "~> 1.0.0"  gem 'newrelic_rpm'  group :development do -  gem 'capistrano', '2.13.5' +  gem 'capistrano',        '2.13.5'    gem 'capistrano-ext'    gem 'guard'    gem 'guard-rspec'    gem 'rails-erd'    gem 'meta_request'    gem 'letter_opener' -  gem 'quiet_assets',             '~> 1.0' - +  gem 'quiet_assets',      '~> 1.0' +  gem 'simplecov',         '~> 0.10.0'    platforms :ruby_20, :ruby_21, :ruby_22 do      gem 'better_errors'      gem 'binding_of_caller' diff --git a/Gemfile.lock b/Gemfile.lock index 54d781fd3..abf2f19c2 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -118,6 +118,7 @@ GEM        actionmailer (>= 3.2.6, < 5)        devise (>= 3.2.0)      diff-lcs (1.2.5) +    docile (1.1.5)      dr-ffi-proj4 (0.0.3)        ffi (>= 1.0.0)      enumerize (0.10.1) @@ -401,6 +402,11 @@ GEM      simple_form (3.1.0)        actionpack (~> 4.0)        activemodel (~> 4.0) +    simplecov (0.10.0) +      docile (~> 1.1.0) +      json (~> 1.8) +      simplecov-html (~> 0.10.0) +    simplecov-html (0.10.0)      slop (3.6.0)      spoon (0.0.4)        ffi @@ -547,6 +553,7 @@ DEPENDENCIES    sawyer (~> 0.6.0)    sdoc (~> 0.4.0)    simple_form (~> 3.1.0) +  simplecov (~> 0.10.0)    spring    sqlite3    squeel diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 4af9e445c..92afd410b 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -11,6 +11,10 @@ require 'capybara/poltergeist'  require 'georuby-ext'  require 'will_paginate/array'  require 'fakeweb' +require 'simplecov' +SimpleCov.start 'rails' do +  add_filter "/.bundle" +end  # Requires supporting ruby files with custom matchers and macros, etc, in  # spec/support/ and its subdirectories. Files matching `spec/**/*_spec.rb` are | 
