Sha256: 4c5ee83a1da59c64d7eb0296108f121a35aa60f5ae2a10416b9d4e99ace44a64
Contents?: true
Size: 940 Bytes
Versions: 5
Compression:
Stored size: 940 Bytes
Contents
# frozen_string_literal: true if ENV['COVERAGE'] == 'yes' begin require 'simplecov' require 'simplecov-console' SimpleCov.formatters = [ SimpleCov::Formatter::HTMLFormatter, SimpleCov::Formatter::Console ] SimpleCov.start do track_files 'lib/**/*.rb' add_filter '/spec' add_filter 'lib/pwsh/version.rb' # do not track vendored files add_filter '/vendor' add_filter '/.vendor' end rescue LoadError raise 'Add the simplecov & simplecov-console gems to Gemfile to enable this task' end end require 'bundler/setup' require 'ruby-pwsh' 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
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
ruby-pwsh-1.2.2 | spec/spec_helper.rb |
ruby-pwsh-1.2.1 | spec/spec_helper.rb |
ruby-pwsh-1.2.0 | spec/spec_helper.rb |
ruby-pwsh-1.1.1 | spec/spec_helper.rb |
ruby-pwsh-1.1.0 | spec/spec_helper.rb |