grange-insurance/cuke_commander

View on GitHub
environments/rspec_env.rb

Summary

Maintainability
A
0 mins
Test Coverage
ENV['CUKE_COMMANDER_SIMPLECOV_COMMAND_NAME'] ||= 'rspec_tests'

require 'simplecov'
require_relative 'common_env'


RSpec.configure do |config|

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

  # Use 'expect' matcher syntax
  config.expect_with :rspec do |c|
    c.syntax = :expect
  end

  # For running only specific tests with the 'focus' tag
  config.filter_run_when_matching focus: true

end