Sha256: ce19d1941f1975a8ee5749de5a9f90fbed7c0f8b9b98b1114147bd846dc11ba2
Contents?: true
Size: 1.14 KB
Versions: 8
Compression:
Stored size: 1.14 KB
Contents
require "bundler/setup" <%- if config.dig(:generate, :code_climate) -%> require "simplecov" SimpleCov.start <%- end -%> <%- if config.dig(:generate, :pry) -%> require "pry" require "pry-byebug" require "pry-state" <%- end -%> <%- unless config.dig(:generate, :rails) -%>require "<%= config.dig(:gem, :path) %>"<%- end -%> Dir[File.join(File.dirname(__FILE__), "support/shared_contexts/**/*.rb")].each do |file| require file end RSpec.configure do |config| config.color = true config.order = "random" config.formatter = :documentation config.disable_monkey_patching! config.filter_run_when_matching :focus config.example_status_persistence_file_path = "./tmp/rspec-status.txt" config.shared_context_metadata_behavior = :apply_to_host_groups config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end config.expect_with :rspec do |expectations| expectations.syntax = :expect expectations.include_chain_clauses_in_custom_matcher_descriptions = true end $stdout = File.new("/dev/null", "w") if ENV["SUPPRESS_STDOUT"] == "enabled" $stderr = File.new("/dev/null", "w") if ENV["SUPPRESS_STDERR"] == "enabled" end
Version data entries
8 entries across 8 versions & 1 rubygems