Commit f526e6920322ed0dc4a0d743b4813f7d816c6c4e
Committed by
Rafael Manzo
1 parent
18a0588c
Exists in
colab
and in
4 other branches
Coverage report organized
Showing
2 changed files
with
24 additions
and
4 deletions
Show diff stats
features/support/env.rb
1 | require 'simplecov' | 1 | require 'simplecov' |
2 | -SimpleCov.start | ||
3 | -SimpleCov.coverage_dir 'coverage/cucumber' | 2 | +SimpleCov.start do |
3 | + coverage_dir 'coverage/cucumber' | ||
4 | + | ||
5 | + add_group "Models", "app/models" | ||
6 | + add_group "Controllers", "app/controllers" | ||
7 | + add_group "Helpers", "app/helpers" | ||
8 | + add_group "Mailers", "app/mailers" | ||
9 | + | ||
10 | + add_filter "/spec/" | ||
11 | + add_filter "/features/" | ||
12 | + add_filter "/config/" | ||
13 | +end | ||
4 | 14 | ||
5 | # IMPORTANT: This file is generated by cucumber-rails - edit at your own peril. | 15 | # IMPORTANT: This file is generated by cucumber-rails - edit at your own peril. |
6 | # It is recommended to regenerate this file in the future when you upgrade to a | 16 | # It is recommended to regenerate this file in the future when you upgrade to a |
spec/spec_helper.rb
1 | #Starts Simplecov | 1 | #Starts Simplecov |
2 | require 'simplecov' | 2 | require 'simplecov' |
3 | -SimpleCov.start | ||
4 | -SimpleCov.coverage_dir 'coverage/rspec' | 3 | +SimpleCov.start do |
4 | + coverage_dir 'coverage/rspec' | ||
5 | + | ||
6 | + add_group "Models", "app/models" | ||
7 | + add_group "Controllers", "app/controllers" | ||
8 | + add_group "Helpers", "app/helpers" | ||
9 | + add_group "Mailers", "app/mailers" | ||
10 | + | ||
11 | + add_filter "/spec/" | ||
12 | + add_filter "/features/" | ||
13 | + add_filter "/config/" | ||
14 | +end | ||
5 | 15 | ||
6 | # This file is copied to spec/ when you run 'rails generate rspec:install' | 16 | # This file is copied to spec/ when you run 'rails generate rspec:install' |
7 | ENV["RAILS_ENV"] ||= 'test' | 17 | ENV["RAILS_ENV"] ||= 'test' |