Implement SimpleCov
This commit is contained in:
parent
a1818ec4c6
commit
4483659bd5
1 changed files with 8 additions and 2 deletions
|
|
@ -1,3 +1,9 @@
|
||||||
|
# frozen_string_literal: true
|
||||||
|
|
||||||
|
require 'simplecov'
|
||||||
|
|
||||||
|
SimpleCov.start
|
||||||
|
|
||||||
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
# This file was generated by the `rails generate rspec:install` command. Conventionally, all
|
||||||
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
||||||
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
||||||
|
|
@ -44,8 +50,8 @@ RSpec.configure do |config|
|
||||||
# triggering implicit auto-inclusion in groups with matching metadata.
|
# triggering implicit auto-inclusion in groups with matching metadata.
|
||||||
config.shared_context_metadata_behavior = :apply_to_host_groups
|
config.shared_context_metadata_behavior = :apply_to_host_groups
|
||||||
|
|
||||||
# The settings below are suggested to provide a good initial experience
|
# The settings below are suggested to provide a good initial experience
|
||||||
# with RSpec, but feel free to customize to your heart's content.
|
# with RSpec, but feel free to customize to your heart's content.
|
||||||
=begin
|
=begin
|
||||||
# This allows you to limit a spec run to individual examples or groups
|
# This allows you to limit a spec run to individual examples or groups
|
||||||
# you care about by tagging them with `:focus` metadata. When nothing
|
# you care about by tagging them with `:focus` metadata. When nothing
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue