Browse Source

Rspec output to tmp

master
aeris 2 months ago
parent
commit
726ed5479b
3 changed files with 3 additions and 11 deletions
  1. +0
    -9
      .gitignore
  2. +1
    -1
      .rspec
  3. +2
    -1
      spec/spec_helper.rb

+ 0
- 9
.gitignore View File

@@ -1,11 +1,2 @@
/.bundle/
/.yardoc
/_yardoc/
/coverage/
/doc/
/pkg/
/spec/reports/
/tmp/

.rspec_status
.rspec_results

+ 1
- 1
.rspec View File

@@ -1,4 +1,4 @@
--format progress
--format documentation --out .rspec_results
--format documentation --out tmp/rspec/results
--color
--require spec_helper

+ 2
- 1
spec/spec_helper.rb View File

@@ -11,6 +11,7 @@ require 'pry-byebug'
require 'simplecov'
SimpleCov.start do
add_filter 'spec/'
coverage_dir 'tmp/rspec/coverage'
end

# require './spec/helpers'
@@ -18,7 +19,7 @@ RSpec.configure do |config|
# config.include Helpers

# Enable flags like --only-failures and --next-failure
config.example_status_persistence_file_path = '.rspec_status'
config.example_status_persistence_file_path = 'tmp/rspec/status'

# Disable RSpec exposing methods globally on `Module` and `main`
config.disable_monkey_patching!


Loading…
Cancel
Save