andriy-baran/steel_wheel

View on GitHub
spec/spec_helper.rb

Summary

Maintainability
A
0 mins
Test Coverage
require 'bundler/setup'
require 'pry'
require 'rspec_vars_helper'
require 'simplecov'
SimpleCov.start do
  add_filter '/spec/'
  add_group 'Lib', 'lib'
end
require 'steel_wheel'

RSpec.configure do |config|
  # Enable flags like --only-failures and --next-failure
  config.example_status_persistence_file_path = '.rspec_status'

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

  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  config.include RspecVarsHelper
end