Sha256: 4ca5b726e9bb4336d95b21ee22013d40ffb8c304db32e8b664c96311bf8eb080

Contents?: true

Size: 1011 Bytes

Versions: 2

Compression:

Stored size: 1011 Bytes

Contents

# (c) 2017 Ribose Inc.
#

# Warnings gem must be added to Gemfile or otherwise loaded in order to have
# the following configuration in effect.
#
# TODO: Add Warning to gemspec or Gemfile after dropping support for Ruby 2.3.
begin
  require "warning"

  # Deduplicate warnings
  Warning.dedup

  # Ignore all warnings in Gem dependencies
  Gem.path.each do |path|
    Warning.ignore(//, path)
  end
rescue LoadError
end

require "simplecov"
SimpleCov.start

if ENV.key?("CI")
  require "codecov"
  SimpleCov.formatter = SimpleCov::Formatter::Codecov
end

require "bundler"
Bundler.require :default, :development

Dir[File.expand_path "support/**/*.rb", __dir__].sort.each { |f| require f }

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
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
attr_masker-0.3.1 spec/spec_helper.rb
attr_masker-0.3.0 spec/spec_helper.rb